Compiler Report

Compiler: Eclipse Java Compiler Version: 0.959, 3.5.0 rc1

Number of source files: 333 Number of classfiles: 409

Problems: 4 (Errors: 0 Warnings: 4 )

Source File: org/eclipse/wst/html/core/internal/validate/HTMLAttributeValidator.java
1. WARNING: DeadCode

Dead code

HTMLAttributeValidator.java :

186 : if (false && actualValue.indexOf('#') < 0 && actualValue.indexOf(":/") == -1 && CMUtil.isHTML(edec)) { //$NON-NLS-1$ //$NON-NLS-2$

2. WARNING: DeadCode

Dead code

HTMLAttributeValidator.java :

186 : if (false && actualValue.indexOf('#') < 0 && actualValue.indexOf(":/") == -1 && CMUtil.isHTML(edec)) { //$NON-NLS-1$ //$NON-NLS-2$ IStructuredDocumentRegion start = ((IDOMNode) node).getStartStructuredDocumentRegion(); if (start != null && start.getFirstRegion().getTextLength() == 1) { IPath basePath = new Path(((IDOMNode) node).getModel().getBaseLocation()); if (basePath.segmentCount() > 1) { IPath path = ModuleCoreSupport.resolve(basePath, actualValue); IResource found = ResourcesPlugin.getWorkspace().getRoot().findMember(path); if (found == null || !found.isAccessible()) { rgnType = REGION_VALUE; state = ErrorState.RESOURCE_NOT_FOUND; } } } }

3. WARNING: DeadCode

Dead code

HTMLAttributeValidator.java :

231 : if (false && actualValue.indexOf('#') < 0 && actualValue.indexOf(":/") == -1 && CMUtil.isHTML(edec)) { //$NON-NLS-1$ //$NON-NLS-2$

4. WARNING: DeadCode

Dead code

HTMLAttributeValidator.java :

231 : if (false && actualValue.indexOf('#') < 0 && actualValue.indexOf(":/") == -1 && CMUtil.isHTML(edec)) { //$NON-NLS-1$ //$NON-NLS-2$ IStructuredDocumentRegion start = ((IDOMNode) node).getStartStructuredDocumentRegion(); if (start != null && start.getFirstRegion().getTextLength() == 1) { IPath basePath = new Path(((IDOMNode) node).getModel().getBaseLocation()); if (basePath.segmentCount() > 1) { IPath path = ModuleCoreSupport.resolve(basePath, actualValue); IResource found = ResourcesPlugin.getWorkspace().getRoot().findMember(path); if (found == null || !found.isAccessible()) { rgnType = REGION_VALUE; state = ErrorState.RESOURCE_NOT_FOUND; } } } }