X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fio%2FFileParse.java;h=8d3283d9b3a80615d11131a52871561f31fe9d38;hb=80b889f0cca49103e1b20ed806755a0719789906;hp=d3a6ba936b86c3f65feaa7bc165995e4e31575ae;hpb=8288438dd58cfc2d1fe18a060afda0d647b85c32;p=jalview.git diff --git a/src/jalview/io/FileParse.java b/src/jalview/io/FileParse.java index d3a6ba9..8d3283d 100755 --- a/src/jalview/io/FileParse.java +++ b/src/jalview/io/FileParse.java @@ -343,8 +343,8 @@ public class FileParse } String encoding = _conn.getContentEncoding(); String contentType = _conn.getContentType(); - boolean isgzipped = "application/x-gzip".equalsIgnoreCase(contentType) || contentType.endsWith("gzip") - || "gzip".equals(encoding); + boolean isgzipped = "application/x-gzip".equalsIgnoreCase(contentType) + || contentType.endsWith("gzip") || "gzip".equals(encoding); Exception e = null; InputStream inputStream = _conn.getInputStream(); if (isgzipped)