[Fedora-directory-commits] console/src/com/netscape/management/client/util DirUtil.java, 1.2, 1.3

Nathan Kinder (nkinder) fedora-directory-commits at redhat.com
Wed Feb 8 23:56:57 UTC 2006


Author: nkinder

Update of /cvs/dirsec/console/src/com/netscape/management/client/util
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30959

Modified Files:
	DirUtil.java 
Log Message:
Checked in a modification the the cast used when calling Method.invoke().  This is needed to maintain Java 1.4 compatibility.  Reviewed by Noriko.



Index: DirUtil.java
===================================================================
RCS file: /cvs/dirsec/console/src/com/netscape/management/client/util/DirUtil.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DirUtil.java	8 Feb 2006 22:13:30 -0000	1.2
+++ DirUtil.java	8 Feb 2006 23:56:49 -0000	1.3
@@ -141,7 +141,7 @@
 			try {
 				Class c = Class.forName( SSL_CIPHERS );
 				Method m = c.getMethod( "getCipherSuite", new Class[0] );
-				_cipherSuite = m.invoke( null, (Object)null );
+				_cipherSuite = m.invoke( null, (Object[])null );
 			} catch (Exception e) {
 				Debug.println("DirUtil.getCipherSuite: Cannot load class, " +
 					e );




More information about the Fedora-directory-commits mailing list