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

Nathan Kinder (nkinder) fedora-directory-commits at redhat.com
Tue Oct 16 15:43:50 UTC 2007


Author: nkinder

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

Modified Files:
	PluginPanel.java 
Log Message:
Resolves: 308221
Summary: Don't try to verify plugin path validity.



Index: PluginPanel.java
===================================================================
RCS file: /cvs/dirsec/directoryconsole/src/com/netscape/admin/dirserv/panel/PluginPanel.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- PluginPanel.java	13 Jan 2006 22:53:13 -0000	1.2
+++ PluginPanel.java	16 Oct 2007 15:43:48 -0000	1.3
@@ -485,20 +485,6 @@
 	    }
 	}
 
-	/* In the case we are in a local machine we check if the path provided is correct */
-	if (isLocal()) {
-	    String path = ((JTextComponent)_fields.get(PATH)).getText().trim();
-	    
-	    File file = new File(path);
-
-	    if (!file.isFile()) {
-		setChangeState( (JLabel)_htLabels.get(PATH), CHANGE_STATE_ERROR );
-	    }
-	}
-		
-		
-		
-	
 	int i = 0;
 	while ((dsEntryText = (DSEntryTextStrict)_dsEntryFields.get(ARG+i))!=null) {
 	    JComponent view = dsEntryText.getView(dsEntryText.getViewCount() - 1 );
@@ -1137,16 +1123,6 @@
 		return false;
 	}
 
-	/* In the case we are in a local machine we check if the path provided is correct */
-	if (isLocal()) {
-	    String path = ((JTextComponent)_fields.get(PATH)).getText().trim();
-	    
-	    File file = new File(path);
-
-	    if (!file.isFile()) 
-		return false;
-	}
-
 	DSEntryTextStrict dsEntryText;
 
 




More information about the Fedora-directory-commits mailing list