JAL-1551 formatting
authorJim Procter <jprocter@issues.jalview.org>
Thu, 7 May 2015 13:55:52 +0000 (14:55 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Thu, 7 May 2015 14:25:04 +0000 (15:25 +0100)
src/jalview/io/JnetAnnotationMaker.java

index f97cd96..c5320f1 100755 (executable)
@@ -64,12 +64,18 @@ public class JnetAnnotationMaker
     if ((delMap != null && delMap.length > width)
             || (delMap == null && gapmap.length != width))
     {
-      throw (new Exception(MessageManager.formatMessage("exception.number_of_residues_in_query_sequence_differ_from_prediction", new String[]{
-                 (delMap == null ? "" : MessageManager.getString("label.mapped")),
-                 al.getSequenceAt(firstSeq).getName(),
-                 al.getSequenceAt(firstSeq).getSequenceAsString(),
-                 Integer.valueOf(width).toString()
-      })));
+      throw (new Exception(
+              MessageManager
+                      .formatMessage(
+                              "exception.number_of_residues_in_query_sequence_differ_from_prediction",
+                              new String[]
+                              {
+                                  (delMap == null ? "" : MessageManager
+                                          .getString("label.mapped")),
+                                  al.getSequenceAt(firstSeq).getName(),
+                                  al.getSequenceAt(firstSeq)
+                                          .getSequenceAsString(),
+                                  Integer.valueOf(width).toString() })));
     }
 
     AlignmentAnnotation annot;