JAL-1551 spotlessApply
[jalview.git] / src / jalview / io / FileParse.java
index d3a6ba9..8d3283d 100755 (executable)
@@ -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)