JAL-1645 source formatting and organise imports
[jalview.git] / src / jalview / io / JnetAnnotationMaker.java
index 7764958..d5593e3 100755 (executable)
@@ -68,8 +68,7 @@ public class JnetAnnotationMaker
               MessageManager
                       .formatMessage(
                               "exception.number_of_residues_in_query_sequence_differ_from_prediction",
-                              new String[]
-                              {
+                              new String[] {
                                   (delMap == null ? "" : MessageManager
                                           .getString("label.mapped")),
                                   al.getSequenceAt(firstSeq).getName(),
@@ -103,7 +102,7 @@ public class JnetAnnotationMaker
           for (int spos = 0; spos < width; spos++)
           {
             int sposw = (delMap == null) ? gapmap[spos]
-                    : delMap[gapmap[spos]];
+                    : gapmap[delMap[spos]];
             if (firstsol)
             {
               sol[sposw] = new Annotation(0f);