JAL-1517 source formatting
[jalview.git] / src / jalview / gui / RestServiceEditorPane.java
index de71f6c..191e420 100644 (file)
@@ -270,7 +270,8 @@ public class RestServiceEditorPane extends GRestServiceEditorPane
     final int rdatasel = rdata.getSelectedIndex();
     if (rdatasel > -1)
     {
-      JPopupMenu popup = new JPopupMenu(MessageManager.getString("label.select_return_type"));
+      JPopupMenu popup = new JPopupMenu(
+              MessageManager.getString("label.select_return_type"));
       for (final JvDataType type : JvDataType.values())
       {
         popup.add(new JMenuItem(type.name())).addActionListener(
@@ -431,13 +432,21 @@ public class RestServiceEditorPane extends GRestServiceEditorPane
             }
             else
             {
-              parseRes.setText(MessageManager.formatMessage("label.parsing_failed_syntax_errors_shown_below_param", new String[]{rsd.getInvalidMessage()}));
+              parseRes.setText(MessageManager
+                      .formatMessage(
+                              "label.parsing_failed_syntax_errors_shown_below_param",
+                              new String[]
+                              { rsd.getInvalidMessage() }));
               parseWarnings.setVisible(true);
             }
           } catch (Throwable e)
           {
             e.printStackTrace();
-            parseRes.setText(MessageManager.formatMessage("label.parsing_failed_unrecoverable_exception_thrown_param", new String[]{e.toString()}));
+            parseRes.setText(MessageManager
+                    .formatMessage(
+                            "label.parsing_failed_unrecoverable_exception_thrown_param",
+                            new String[]
+                            { e.toString() }));
             parseWarnings.setVisible(true);
           }
         }