Compiler Report

Compiler: Eclipse Compiler for Java(TM) Version: 0.A53, 3.6.0

Number of source files: 250 Number of classfiles: 254

Problems: 22 (Errors: 0 Warnings: 22 )

Source File: org/eclipse/wst/xml/xpath2/processor/test/KindTestSITest.java
1. WARNING: UnusedImport

The import java.util.Arrays is never used

KindTestSITest.java :

15 : import java.util.Arrays;

2. WARNING: UnusedImport

The import java.util.List is never used

KindTestSITest.java :

16 : import java.util.List;

Source File: org/eclipse/wst/xml/xpath2/processor/test/TestBugs.java
1. WARNING: LocalVariableIsNeverUsed

The local variable rs is never read

TestBugs.java :

1710 : ResultSequence rs = eval.evaluate(path);

2. WARNING: LocalVariableIsNeverUsed

The local variable path is never read

TestBugs.java :

1748 : XPath path = compileXPath(dc, xpath);

Source File: org/eclipse/wst/xml/xpath2/processor/test/TestWTPDOMXPath2.java
1. WARNING: DiscouragedReference

Discouraged access: The type IModelManager is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/workdir/plugins/org.eclipse.wst.sse.core/@dot

TestWTPDOMXPath2.java :

11 : import org.eclipse.wst.sse.core.internal.provisional.IModelManager;

2. WARNING: DiscouragedReference

Discouraged access: The type IStructuredDocument is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/workdir/plugins/org.eclipse.wst.sse.core/@dot

TestWTPDOMXPath2.java :

12 : import org.eclipse.wst.sse.core.internal.provisional.text.IStructuredDocument;

3. WARNING: UnusedImport

The import org.eclipse.wst.sse.core.internal.provisional.text.IStructuredDocument is never used

TestWTPDOMXPath2.java :

12 : import org.eclipse.wst.sse.core.internal.provisional.text.IStructuredDocument;

4. WARNING: DiscouragedReference

Discouraged access: The type IDOMDocument is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/workdir/plugins/org.eclipse.wst.xml.core/@dot

TestWTPDOMXPath2.java :

13 : import org.eclipse.wst.xml.core.internal.provisional.document.IDOMDocument;

5. WARNING: UnusedImport

The import org.eclipse.wst.xml.core.internal.provisional.document.IDOMDocument is never used

TestWTPDOMXPath2.java :

13 : import org.eclipse.wst.xml.core.internal.provisional.document.IDOMDocument;

6. WARNING: DiscouragedReference

Discouraged access: The type IDOMModel is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/workdir/plugins/org.eclipse.wst.xml.core/@dot

TestWTPDOMXPath2.java :

14 : import org.eclipse.wst.xml.core.internal.provisional.document.IDOMModel;

7. WARNING: DiscouragedReference

Discouraged access: The type IDOMNode is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/workdir/plugins/org.eclipse.wst.xml.core/@dot

TestWTPDOMXPath2.java :

15 : import org.eclipse.wst.xml.core.internal.provisional.document.IDOMNode;

8. WARNING: UnusedImport

The import org.osgi.framework.Bundle is never used

TestWTPDOMXPath2.java :

26 : import org.osgi.framework.Bundle;

9. WARNING: UnusedImport

The import org.w3c.dom.Node is never used

TestWTPDOMXPath2.java :

28 : import org.w3c.dom.Node;

10. WARNING: DiscouragedReference

Discouraged access: The type IDOMModel is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/workdir/plugins/org.eclipse.wst.xml.core/@dot

TestWTPDOMXPath2.java :

31 : IDOMModel model = null;

11. WARNING: DiscouragedReference

Discouraged access: The method releaseFromRead() from the type IStructuredModel is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/workdir/plugins/org.eclipse.wst.sse.core/@dot

TestWTPDOMXPath2.java :

42 : model.releaseFromRead();

12. WARNING: DiscouragedReference

Discouraged access: The type IModelManager is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/workdir/plugins/org.eclipse.wst.sse.core/@dot

TestWTPDOMXPath2.java :

1784 : IModelManager modelManager = StructuredModelManager.getModelManager();

13. WARNING: DiscouragedReference

Discouraged access: The type IDOMModel is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/workdir/plugins/org.eclipse.wst.xml.core/@dot

TestWTPDOMXPath2.java :

1789 : model = (IDOMModel) modelManager.getModelForRead(url.getFile(),

14. WARNING: DiscouragedReference

Discouraged access: The method getModelForRead(String, InputStream, URIResolver) from the type IModelManager is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/workdir/plugins/org.eclipse.wst.sse.core/@dot

TestWTPDOMXPath2.java :

1789 : model = (IDOMModel) modelManager.getModelForRead(url.getFile(), inStream, null);

15. WARNING: DiscouragedReference

Discouraged access: The method getDocument() from the type IDOMModel is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/workdir/plugins/org.eclipse.wst.xml.core/@dot

TestWTPDOMXPath2.java :

1792 : return model.getDocument();

16. WARNING: DiscouragedReference

Discouraged access: The type IDOMNode is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/workdir/plugins/org.eclipse.wst.xml.core/@dot

TestWTPDOMXPath2.java :

2775 : IDOMNode node = (IDOMNode) nodeType.node_value();

17. WARNING: DiscouragedReference

Discouraged access: The type IDOMNode is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/workdir/plugins/org.eclipse.wst.xml.core/@dot

TestWTPDOMXPath2.java :

2775 : IDOMNode node = (IDOMNode) nodeType.node_value();

18. WARNING: DiscouragedReference

Discouraged access: The method getSource() from the type IDOMNode is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.1-M/workdir/plugins/org.eclipse.wst.xml.core/@dot

TestWTPDOMXPath2.java :

2776 : buffer = buffer.append(node.getSource());