proxy commit for Anne Menard <menard.annec@gmail.com> throw generic exceptions (just...
[jalview.git] / src / jalview / io / JnetAnnotationMaker.java
index d7e901e..957c5e7 100755 (executable)
@@ -1,13 +1,13 @@
 /*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.6)
- * Copyright (C) 2010 J Procter, AM Waterhouse, G Barton, M Clamp, S Searle
+ * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8)
+ * Copyright (C) 2012 J Procter, AM Waterhouse, LM Lui, J Engelhardt, G Barton, M Clamp, S Searle
  * 
  * This file is part of Jalview.
  * 
  * Jalview is free software: you can redistribute it and/or
  * modify it under the terms of the GNU General Public License 
  * as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
- * 
+ *  
  * Jalview is distributed in the hope that it will be useful, but 
  * WITHOUT ANY WARRANTY; without even the implied warranty 
  * of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
@@ -95,8 +95,8 @@ public class JnetAnnotationMaker
           {
             for (int j = 0; j < width; j++)
             {
-              annotations[gapmap[j]] = new Annotation("", "", preds[i]
-                      .getCharAt(j), 0);
+              annotations[gapmap[j]] = new Annotation("", "",
+                      preds[i].getCharAt(j), 0);
             }
           }
           else
@@ -126,9 +126,9 @@ public class JnetAnnotationMaker
             {
               float value = new Float(preds[i].getCharAt(j) + "")
                       .floatValue();
-              annotations[gapmap[delMap[j]]] = new Annotation(preds[i]
-                      .getCharAt(j)
-                      + "", "", preds[i].getCharAt(j), value);
+              annotations[gapmap[delMap[j]]] = new Annotation(
+                      preds[i].getCharAt(j) + "", "",
+                      preds[i].getCharAt(j), value);
             }
           }
         }
@@ -146,9 +146,8 @@ public class JnetAnnotationMaker
           {
             for (int j = 0; j < width; j++)
             {
-              annotations[gapmap[delMap[j]]] = new Annotation(preds[i]
-                      .getCharAt(j)
-                      + "", "", ' ', 0);
+              annotations[gapmap[delMap[j]]] = new Annotation(
+                      preds[i].getCharAt(j) + "", "", ' ', 0);
             }
           }
         }