String fileName = slashIndex < 0 ? entry : entry.substring(slashIndex + 1);
String fileName = slashIndex < 0 || slashIndex == entry.length() - 1 ? entry : entry.substring(slashIndex + 1);
	protected void findLocalEntryPaths(String path, Filter patternFilter, Hashtable patternProps, boolean recurse, List pathList) {		Enumeration entryPaths = bundledata.getEntryPaths(path);		if (entryPaths == null)			return;		while (entryPaths.hasMoreElements()) {			String entry = (String) entryPaths.nextElement();			int slashIndex = entry.lastIndexOf('/');			String fileName = slashIndex < 0 ? entry : entry.substring(slashIndex + 1);			if (patternProps != null)				// set the filename to the current entry				patternProps.put("filename", fileName); //$NON-NLS-1$			// prevent duplicates and match on the patterFilter			if (!pathList.contains(entry) && (patternFilter == null || patternFilter.matchCase(patternProps)))				pathList.add(entry);			// rescurse only into entries that are directories			if (recurse && !entry.equals(path) && entry.length() > 0 && slashIndex == (entry.length() - 1))				findLocalEntryPaths(entry, patternFilter, patternProps, recurse, pathList);		}		return;	}