formatting
[jalview.git] / src / MCview / PDBfile.java
index 18b83ae..f246b8c 100755 (executable)
@@ -56,18 +56,18 @@ public class PDBfile extends jalview.io.AlignFile
     // TODO set the filename sensibly - try using data source name.
     id = safeName(getDataName());
 
-      chains = new Vector();
+    chains = new Vector();
 
-      PDBChain tmpchain;
-      String line=null;
-      boolean modelFlag = false;
-      boolean terFlag = false;
-      String lastID = "";
+    PDBChain tmpchain;
+    String line = null;
+    boolean modelFlag = false;
+    boolean terFlag = false;
+    String lastID = "";
 
-      int index = 0;
-      String atomnam = null;
-      try
-      {
+    int index = 0;
+    String atomnam = null;
+    try
+    {
       while ((line = nextLine()) != null)
       {
         if (line.indexOf("HEADER") == 0)
@@ -184,10 +184,10 @@ public class PDBfile extends jalview.io.AlignFile
     {
       System.out.println("OUT OF MEMORY LOADING PDB FILE");
       throw new IOException("Out of memory loading PDB File");
-    }
-    catch (NumberFormatException ex)
+    } catch (NumberFormatException ex)
     {
-      if (line!=null) {
+      if (line != null)
+      {
         System.err.println("Couldn't read number from line:");
         System.err.println(line);
       }