svn commit: r13699 - trunk/src_new/org/argouml/application/Main.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: tfmorris
Date: 2007-11-02 10:14:03-0700
New Revision: 13699

Modified:
   trunk/src_new/org/argouml/application/Main.java

Log:
Fix indentation missed by Eclipse

Modified: trunk/src_new/org/argouml/application/Main.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/application/Main.java?view=diff&rev=13699&p1=trunk/src_new/org/argouml/application/Main.java&p2=trunk/src_new/org/argouml/application/Main.java&r1=13698&r2=13699
==============================================================================
--- trunk/src_new/org/argouml/application/Main.java	(original)
+++ trunk/src_new/org/argouml/application/Main.java	2007-11-02 10:14:03-0700
@@ -177,15 +177,16 @@
 
             String projectName = null;
 
+            // TODO: Move command line parsing to separate method
+        
             // Parse command line args:
             // The assumption is that all options precede
             // the name of a project file to load.
             String theTheme = null;
             for (int i = 0; i < args.length; i++) {
                 if (args[i].startsWith("-")) {
-                    String themeName =
-                        LookAndFeelMgr.getInstance()
-                        .getThemeClassNameFromArg(args[i]);
+                    String themeName = LookAndFeelMgr.getInstance()
+                            .getThemeClassNameFromArg(args[i]);
                     if (themeName != null) {
                         theTheme = themeName;
                     } else if (
@@ -299,8 +300,7 @@
                         LOG.info("Re-opening project " + s);
                         projectName = s;
                     } else {
-                        LOG.warn(
-                                "Cannot re-open " + s 
+                        LOG.warn("Cannot re-open " + s
                                 + " because it does not exist");
                     }
                 }
@@ -333,9 +333,7 @@
                             Translator.localize(
                                     "statusmsg.bar.defaultproject"));
                 } else {
-                    Object[] msgArgs = {
-                            projectName,
-                    };
+                    Object[] msgArgs = {projectName};
                     splash.getStatusBar().showStatus(
                             Translator.messageFormat(
                                     "statusmsg.bar.readingproject",
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.