X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Futil%2FDBRefUtils.java;h=518c31049cfe457d02c674d587eb275d2bfa8b59;hb=4d7f98a6dd54d9863ba449ec79dcd95d25ed863d;hp=123a4e104759d438d43433d65cca3425d5545fe9;hpb=619cc880371f3228e6a1fb33c6bfb6e7a7e2622c;p=jalview.git diff --git a/src/jalview/util/DBRefUtils.java b/src/jalview/util/DBRefUtils.java index 123a4e1..518c310 100755 --- a/src/jalview/util/DBRefUtils.java +++ b/src/jalview/util/DBRefUtils.java @@ -118,8 +118,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()); } @@ -139,8 +138,7 @@ public class DBRefUtils { return null; } - String canonical = canonicalSourceNameLookup.get(source - .toLowerCase()); + String canonical = canonicalSourceNameLookup.get(source.toLowerCase()); return canonical == null ? source : canonical; } @@ -436,7 +434,7 @@ public class DBRefUtils { String pdbid = r.stringMatched(1); String chaincode = r.stringMatched(2); - if (chaincode==null) + if (chaincode == null) { chaincode = " "; } @@ -455,8 +453,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