cvs diff -r 1.88 -r 1.89 -u WebProjectProperties.java (in directory C:\nb_all\web\project\src\org\netbeans\modules\web\project\ui\customizer\) Index: WebProjectProperties.java =================================================================== RCS file: /cvs/web/project/src/org/netbeans/modules/web/project/ui/customizer/WebProjectProperties.java,v retrieving revision 1.88 retrieving revision 1.89 diff -u -r1.88 -r1.89 --- WebProjectProperties.java 2 Apr 2005 22:43:29 -0000 1.88 +++ WebProjectProperties.java 11 Apr 2005 15:36:36 -0000 1.89 @@ -339,7 +339,7 @@ //prevent deadlock reported in the issue #54643 //cp and serverId values are read in setNewContextPathValue() method which is called from storeProperties() before this code //it is easier to preset them instead of reading them here again - if (cp != null && cp.length() != 0) { + if (cp != null) { ProjectWebModule wm = (ProjectWebModule) project.getLookup().lookup(ProjectWebModule.class); String oldCP = wm.getContextPath(serverId); if (!cp.equals(oldCP)) @@ -703,7 +703,7 @@ } private static void setNewContextPathValue(String contextPath, Project project, EditableProperties projectProps, EditableProperties privateProps) { - if (contextPath == null || contextPath.length() == 0) + if (contextPath == null) return; cp = contextPath; ***** CVS exited normally with code 1 *****