else { source = findRequiredSource(pkgName); if (source != null) result = source.getResources(name); if (result == null) result = findLocalResources(name); }
if (result == null) result = findLocalResources(name);  source = findDynamicSource(pkgName); if (source != null) result = source.getResources(pkgName);
	public Enumeration findResources(String name) throws IOException {		if (isClosed())			return null;		if ((name.length() > 1) && (name.charAt(0) == '/')) /* if name has a leading slash */			name = name.substring(1); /* remove leading slash before search */		String pkgName = getResourcePackageName(name);		Enumeration result = null;		PackageSource source = findImportedSource(pkgName);		if (source != null)			result = source.getResources(name);		else {			source = findRequiredSource(pkgName);			if (source != null)				result = source.getResources(name);			if (result == null)				result = findLocalResources(name);		}		return result;	}