X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2FMCview%2FPDBfile.java;h=ebc52aaf0aa0643410590de2c330fd5611782160;hb=3d0101179759ef157b088ea135423cd909512d9f;hp=6d3d342a886537f06784ebac120a60d20a51e47c;hpb=7c70cb09e9de68ab567e38520d6d09f0c17a3939;p=jalview.git diff --git a/src/MCview/PDBfile.java b/src/MCview/PDBfile.java index 6d3d342..ebc52aa 100755 --- a/src/MCview/PDBfile.java +++ b/src/MCview/PDBfile.java @@ -48,8 +48,7 @@ public class PDBfile extends StructureFile public PDBfile(boolean addAlignmentAnnotations, boolean predictSecStr, boolean externalSecStr, String dataObject, - DataSourceType sourceType) - throws IOException + DataSourceType sourceType) throws IOException { super(false, dataObject, sourceType); addSettings(addAlignmentAnnotations, predictSecStr, externalSecStr); @@ -190,9 +189,8 @@ public class PDBfile extends StructureFile } catch (OutOfMemoryError er) { System.out.println("OUT OF MEMORY LOADING PDB FILE"); - throw new IOException( - MessageManager - .getString("exception.outofmemory_loading_pdb_file")); + throw new IOException(MessageManager + .getString("exception.outofmemory_loading_pdb_file")); } catch (NumberFormatException ex) { if (line != null) @@ -228,8 +226,8 @@ public class PDBfile extends StructureFile public static String relocateCalcId(String calcId, Hashtable alreadyLoadedPDB) throws Exception { - int s = CALC_ID_PREFIX.length(), end = calcId - .indexOf(CALC_ID_PREFIX, s); + int s = CALC_ID_PREFIX.length(), + end = calcId.indexOf(CALC_ID_PREFIX, s); String between = calcId.substring(s, end - 1); return CALC_ID_PREFIX + alreadyLoadedPDB.get(between) + ":" + calcId.substring(end);