directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nik...@apache.org
Subject svn commit: r448669 - /directory/trunks/mina/example/src/main/java/org/apache/mina/example/chat/SpringMain.java
Date Thu, 21 Sep 2006 20:39:17 GMT
Author: niklas
Date: Thu Sep 21 13:39:16 2006
New Revision: 448669

URL: http://svn.apache.org/viewvc?view=rev&rev=448669
Log:
Fixed some formatting issues.

Modified:
    directory/trunks/mina/example/src/main/java/org/apache/mina/example/chat/SpringMain.java

Modified: directory/trunks/mina/example/src/main/java/org/apache/mina/example/chat/SpringMain.java
URL: http://svn.apache.org/viewvc/directory/trunks/mina/example/src/main/java/org/apache/mina/example/chat/SpringMain.java?view=diff&rev=448669&r1=448668&r2=448669
==============================================================================
--- directory/trunks/mina/example/src/main/java/org/apache/mina/example/chat/SpringMain.java
(original)
+++ directory/trunks/mina/example/src/main/java/org/apache/mina/example/chat/SpringMain.java
Thu Sep 21 13:39:16 2006
@@ -38,9 +38,11 @@
             new ClassPathXmlApplicationContext( getJmxApplicationContexts() );
             System.out.println( "JMX enabled." );
         }
-        else {
+        else
+        {
             new ClassPathXmlApplicationContext( getApplicationContext() );
-            System.out.println( "JMX disabled. Please set the 'com.sun.management.jmxremote'
system property to enable JMX." );
+            System.out.println( "JMX disabled. Please set the "
+                    + "'com.sun.management.jmxremote' system property to enable JMX." );
         }
         System.out.println( "Listening ..." );
     }
@@ -52,9 +54,7 @@
 
     public static String[] getJmxApplicationContexts()
     {
-        return new String[] {
-                "org/apache/mina/example/chat/serverContext.xml",
-                "org/apache/mina/example/chat/jmxContext.xml"
-        };
+        return new String[] { "org/apache/mina/example/chat/serverContext.xml",
+                "org/apache/mina/example/chat/jmxContext.xml" };
     }
 }



Mime
View raw message