[Fedora-directory-commits] directoryconsole/src/com/netscape/admin/dirserv DSAdmin.java, 1.2, 1.3

Nathan Kinder (nkinder) fedora-directory-commits at redhat.com
Fri Oct 28 22:18:24 UTC 2005


Author: nkinder

Update of /cvs/dirsec/directoryconsole/src/com/netscape/admin/dirserv
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14275

Modified Files:
	DSAdmin.java 
Log Message:
171941 - checkVersion was comparing versions with greater than when it should have been using greater than or equal to


Index: DSAdmin.java
===================================================================
RCS file: /cvs/dirsec/directoryconsole/src/com/netscape/admin/dirserv/DSAdmin.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- DSAdmin.java	28 Oct 2005 18:01:34 -0000	1.2
+++ DSAdmin.java	28 Oct 2005 22:18:17 -0000	1.3
@@ -1236,7 +1236,7 @@
 		try {
 			Float f = new Float(version);
 			// Check if the console meets the minimum version requirement
-			if ((f != null) && (f.floatValue() > MINIMUM_VERSION)) {
+			if ((f != null) && (f.floatValue() >= MINIMUM_VERSION)) {
 				return true;
 			} else {
 				DSUtil.showErrorDialog(frame, "neednewconsole", version);




More information about the Fedora-directory-commits mailing list