JAL-1925 update source version in license
[jalview.git] / src / jalview / ws / dbsources / Pdb.java
index 836e211..e783950 100644 (file)
@@ -1,6 +1,6 @@
 /*
- * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
- * Copyright (C) $$Year-Rel$$ The Jalview Authors
+ * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9.0b2)
+ * Copyright (C) 2015 The Jalview Authors
  * 
  * This file is part of Jalview.
  * 
@@ -189,9 +189,9 @@ public class Pdb extends EbiFileRetrievedProxy implements DbSourceProxy
         for (SequenceI pdbcs : toremove)
         {
           pdbfile.deleteSequence(pdbcs);
-          if (pdbcs.getAnnotation()!=null)
+          if (pdbcs.getAnnotation() != null)
           {
-            for (AlignmentAnnotation aa: pdbcs.getAnnotation())
+            for (AlignmentAnnotation aa : pdbcs.getAnnotation())
             {
               pdbfile.deleteAnnotation(aa);
             }
@@ -201,7 +201,9 @@ public class Pdb extends EbiFileRetrievedProxy implements DbSourceProxy
 
       if (pdbfile == null || pdbfile.getHeight() < 1)
       {
-        throw new Exception(MessageManager.formatMessage("exception.no_pdb_records_for_chain", new String[]{id, ((chain == null) ? "' '" : chain)}));
+        throw new Exception(MessageManager.formatMessage(
+                "exception.no_pdb_records_for_chain", new String[] { id,
+                    ((chain == null) ? "' '" : chain) }));
       }
 
     } catch (Exception ex) // Problem parsing PDB file