Merge branch 'develop' into features/JAL-1705_ensembl
[jalview.git] / src / jalview / util / DBRefUtils.java
index d2be021..b8f1dd5 100755 (executable)
@@ -119,8 +119,7 @@ public class DBRefUtils
     {
       return false;
     }
-    String coordsys = dasCoordinateSystemsLookup.get(string
-            .toLowerCase());
+    String coordsys = dasCoordinateSystemsLookup.get(string.toLowerCase());
     return coordsys == null ? false : coordsys.equals(dBRefEntry
             .getSource());
   }
@@ -140,8 +139,7 @@ public class DBRefUtils
     {
       return null;
     }
-    String canonical = canonicalSourceNameLookup.get(source
-            .toLowerCase());
+    String canonical = canonicalSourceNameLookup.get(source.toLowerCase());
     return canonical == null ? source : canonical;
   }
 
@@ -437,7 +435,7 @@ public class DBRefUtils
         {
           String pdbid = r.stringMatched(1);
           String chaincode = r.stringMatched(2);
-          if (chaincode==null)
+          if (chaincode == null)
           {
             chaincode = " ";
           }
@@ -456,8 +454,10 @@ public class DBRefUtils
           pdbr.setChainCode(chaincode);
           // pdbr.getProperty().put("CHAIN", chaincode);
           seq.addPDBId(pdbr);
-        } else {
-          System.err.println("Malformed PDB DR line:"+acn);
+        }
+        else
+        {
+          System.err.println("Malformed PDB DR line:" + acn);
         }
       }
       else