|
From: Michael R. <mr...@us...> - 2004-08-10 13:28:48
|
Update of /cvsroot/openorb/OpenORB/src/examples/org/openorb/orb/examples/messaging In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7788/src/examples/org/openorb/orb/examples/messaging Modified Files: Client.java Server.java Log Message: Fixed the remaining checkstyle warnings Index: Client.java =================================================================== RCS file: /cvsroot/openorb/OpenORB/src/examples/org/openorb/orb/examples/messaging/Client.java,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- Client.java 16 Feb 2004 09:41:54 -0000 1.12 +++ Client.java 10 Aug 2004 13:28:39 -0000 1.13 @@ -8,8 +8,13 @@ package org.openorb.orb.examples.messaging; -public class Client +public final class Client { + // do not instantiate + private Client() + { + } + public static void main( String[] args ) { java.util.Properties props = System.getProperties(); Index: Server.java =================================================================== RCS file: /cvsroot/openorb/OpenORB/src/examples/org/openorb/orb/examples/messaging/Server.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- Server.java 16 Feb 2004 09:41:54 -0000 1.8 +++ Server.java 10 Aug 2004 13:28:39 -0000 1.9 @@ -8,8 +8,13 @@ package org.openorb.orb.examples.messaging; -public class Server +public final class Server { + // do not instantiate + private Server() + { + } + public static void main( String[] args ) { java.util.Properties props = System.getProperties(); @@ -17,7 +22,6 @@ org.openorb.orb.core.ORB.class.getName() ); props.put( "org.omg.CORBA.ORBSingletonClass", org.openorb.orb.core.ORBSingleton.class.getName() ); - //props.put( "verbose", "5" ); org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init( args, props ); org.omg.CORBA.Object objPoa = null; org.omg.PortableServer.POA rootPOA = null; |