|
From: Michael R. <mr...@us...> - 2004-08-10 13:28:52
|
Update of /cvsroot/openorb/OpenORB/src/examples/org/openorb/orb/examples/rmi/simple In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7788/src/examples/org/openorb/orb/examples/rmi/simple 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/rmi/simple/Client.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- Client.java 1 Mar 2004 11:06:08 -0000 1.3 +++ Client.java 10 Aug 2004 13:28:41 -0000 1.4 @@ -12,8 +12,13 @@ import javax.rmi.PortableRemoteObject; -public class Client +public final class Client { + // do not instantiate + private Client() + { + } + public static void main( String[] args ) { Properties props = new Properties(); Index: Server.java =================================================================== RCS file: /cvsroot/openorb/OpenORB/src/examples/org/openorb/orb/examples/rmi/simple/Server.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- Server.java 1 Mar 2004 11:06:08 -0000 1.3 +++ Server.java 10 Aug 2004 13:28:41 -0000 1.4 @@ -14,8 +14,9 @@ import javax.rmi.PortableRemoteObject; -public class Server +public final class Server { + // do not instantiate private Server() { } |