final List<SpdyVersion> tmpList =
new ArrayList<SpdyVersion>(strVersionsArray.length);
for (String strVersion : strVersionsArray) {
final String trimmedVersion = strVersion.trim();
final SpdyVersion spdyVersion =
SpdyVersion.fromString(trimmedVersion);
if (spdyVersion != null) {
tmpList.add(spdyVersion);
} else {
LOGGER.log(Level.WARNING, "Spdy version {0} is not supported. Supported versions are: {1}",