Compiler Report

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

Number of source files: 164 Number of classfiles: 238

Problems: 42 (Errors: 0 Warnings: 42 )

Source File: org/eclipse/jst/jsp/ui/internal/breakpointproviders/AbstractBreakpointProvider.java
1. WARNING: DeadCode

Dead code

AbstractBreakpointProvider.java :

235 : return NO_VALID_CONTENT;

Source File: org/eclipse/jst/jsp/ui/internal/breakpointproviders/JavaStratumBreakpointProvider.java
1. WARNING: DeadCode

Dead code

JavaStratumBreakpointProvider.java :

124 : if (types == null) { types = Platform.getContentTypeManager().findContentTypesFor(resource.getName()); }

Source File: org/eclipse/jst/jsp/ui/internal/contentassist/JSPContentAssistProcessor.java
1. WARNING: DeadCode

Dead code

JSPContentAssistProcessor.java :

393 : if (results != null) { for (i = 0; i < results.length; i++) { contentAssistRequest.addProposal(new CustomCompletionProposal(((CustomCompletionProposal) results[i]).getReplacementString(), ((CustomCompletionProposal) results[i]).getReplacementOffset() - additionalShifts + contentAssistRequest.getStartOffset() + (quoted ? 1 : 0), ((CustomCompletionProposal) results[i]).getReplacementLength(), ((CustomCompletionProposal) results[i]).getCursorPosition(), results[i].getImage(), results[i].getDisplayString(), ((CustomCompletionProposal) results[i]).getContextInformation(), ((CustomCompletionProposal) results[i]).getAdditionalProposalInfo(), (results[i] instanceof IRelevanceCompletionProposal) ? ((IRelevanceCompletionProposal) results[i]).getRelevance() : IRelevanceConstants.R_NONE)); } }

Source File: org/eclipse/jst/jsp/ui/internal/contentassist/JSPDummyContentAssistProcessor.java
1. WARNING: UnusedImport

The import org.eclipse.wst.xml.ui.internal.contentassist.DefaultXMLCompletionProposalComputer is never used

JSPDummyContentAssistProcessor.java :

31 : import org.eclipse.wst.xml.ui.internal.contentassist.DefaultXMLCompletionProposalComputer;

Source File: org/eclipse/jst/jsp/ui/internal/contentassist/JSPProposalCollector.java
1. WARNING: DiscouragedReference

Discouraged access: The type ProposalContextInformation is not accessible due to restriction on classpath entry /opt/public/webtools/projects/patches-R3.2.2-P/eclipse/plugins/org.eclipse.jdt.ui_3.6.1.r361_v20100825-0800.jar

JSPProposalCollector.java :

22 : import org.eclipse.jdt.internal.ui.text.java.ProposalContextInformation;

2. WARNING: DiscouragedReference

Discouraged access: The type ProposalContextInformation is not accessible due to restriction on classpath entry /opt/public/webtools/projects/patches-R3.2.2-P/eclipse/plugins/org.eclipse.jdt.ui_3.6.1.r361_v20100825-0800.jar

JSPProposalCollector.java :

185 : if(contextInformation instanceof ProposalContextInformation) {

3. WARNING: DiscouragedReference

Discouraged access: The type ProposalContextInformation is not accessible due to restriction on classpath entry /opt/public/webtools/projects/patches-R3.2.2-P/eclipse/plugins/org.eclipse.jdt.ui_3.6.1.r361_v20100825-0800.jar

JSPProposalCollector.java :

186 : ProposalContextInformation proposalInfo = (ProposalContextInformation)contextInformation;

4. WARNING: DiscouragedReference

Discouraged access: The type ProposalContextInformation is not accessible due to restriction on classpath entry /opt/public/webtools/projects/patches-R3.2.2-P/eclipse/plugins/org.eclipse.jdt.ui_3.6.1.r361_v20100825-0800.jar

JSPProposalCollector.java :

186 : ProposalContextInformation proposalInfo = (ProposalContextInformation)contextInformation;

5. WARNING: DiscouragedReference

Discouraged access: The method getContextInformationPosition() from the type ProposalContextInformation is not accessible due to restriction on classpath entry /opt/public/webtools/projects/patches-R3.2.2-P/eclipse/plugins/org.eclipse.jdt.ui_3.6.1.r361_v20100825-0800.jar

JSPProposalCollector.java :

187 : int contextInfoJSPOffset = fTranslation.getJspOffset(proposalInfo.getContextInformationPosition());

6. WARNING: DiscouragedReference

Discouraged access: The method setContextInformationPosition(int) from the type ProposalContextInformation is not accessible due to restriction on classpath entry /opt/public/webtools/projects/patches-R3.2.2-P/eclipse/plugins/org.eclipse.jdt.ui_3.6.1.r361_v20100825-0800.jar

JSPProposalCollector.java :

188 : proposalInfo.setContextInformationPosition(contextInfoJSPOffset);

Source File: org/eclipse/jst/jsp/ui/internal/contentassist/JSPTaglibCompletionProposalComputer.java
1. WARNING: DiscouragedReference

Discouraged access: The type URIHelper is not accessible due to restriction on classpath entry /opt/public/webtools/projects/patches-R3.2.2-P/eclipse/plugins/org.eclipse.wst.common.uriresolver_1.1.401.v201004280700.jar

JSPTaglibCompletionProposalComputer.java :

38 : import org.eclipse.wst.common.uriresolver.internal.util.URIHelper;

2. WARNING: DiscouragedReference

Discouraged access: The type URIHelper is not accessible due to restriction on classpath entry /opt/public/webtools/projects/patches-R3.2.2-P/eclipse/plugins/org.eclipse.wst.common.uriresolver_1.1.401.v201004280700.jar

JSPTaglibCompletionProposalComputer.java :

379 : url = URIHelper.normalize(record.getDescriptor().getSmallIcon(), record.getURL().toString(), "/"); //$NON-NLS-1$

3. WARNING: DiscouragedReference

Discouraged access: The method normalize(String, String, String) from the type URIHelper is not accessible due to restriction on classpath entry /opt/public/webtools/projects/patches-R3.2.2-P/eclipse/plugins/org.eclipse.wst.common.uriresolver_1.1.401.v201004280700.jar

JSPTaglibCompletionProposalComputer.java :

379 : url = URIHelper.normalize(record.getDescriptor().getSmallIcon(), record.getURL().toString(), "/"); //$NON-NLS-1$

Source File: org/eclipse/jst/jsp/ui/internal/contentassist/JavaTypeFinder.java
1. WARNING: DiscouragedReference

Discouraged access: The type URIHelper is not accessible due to restriction on classpath entry /opt/public/webtools/projects/patches-R3.2.2-P/eclipse/plugins/org.eclipse.wst.common.uriresolver_1.1.401.v201004280700.jar

JavaTypeFinder.java :

31 : import org.eclipse.wst.common.uriresolver.internal.util.URIHelper;

2. WARNING: DiscouragedReference

Discouraged access: The type URIHelper is not accessible due to restriction on classpath entry /opt/public/webtools/projects/patches-R3.2.2-P/eclipse/plugins/org.eclipse.wst.common.uriresolver_1.1.401.v201004280700.jar

JavaTypeFinder.java :

80 : String path = URIHelper.normalize(memberResource.getFullPath().toString(), resource.getFullPath().toString(), resource.getProject().getFullPath().toString());

3. WARNING: DiscouragedReference

Discouraged access: The method normalize(String, String, String) from the type URIHelper is not accessible due to restriction on classpath entry /opt/public/webtools/projects/patches-R3.2.2-P/eclipse/plugins/org.eclipse.wst.common.uriresolver_1.1.401.v201004280700.jar

JavaTypeFinder.java :

80 : String path = URIHelper.normalize(memberResource.getFullPath().toString(), resource.getFullPath().toString(), resource.getProject().getFullPath().toString());

Source File: org/eclipse/jst/jsp/ui/internal/contentassist/LibraryTagsCompletionProposalComputer.java
1. WARNING: UnusedImport

The import org.eclipse.wst.xml.ui.internal.contentassist.XMLContentModelGenerator is never used

LibraryTagsCompletionProposalComputer.java :

54 : import org.eclipse.wst.xml.ui.internal.contentassist.XMLContentModelGenerator;

Source File: org/eclipse/jst/jsp/ui/internal/java/refactoring/JSPMoveParticipant.java
1. WARNING: UnusedImport

The import org.eclipse.jdt.core.search.SearchRequestor is never used

JSPMoveParticipant.java :

21 : import org.eclipse.jdt.core.search.SearchRequestor;

2. WARNING: UnusedImport

The import org.eclipse.ltk.core.refactoring.participants.RefactoringParticipant is never used

JSPMoveParticipant.java :

34 : import org.eclipse.ltk.core.refactoring.participants.RefactoringParticipant;

3. WARNING: UnusedImport

The import org.eclipse.text.edits.TextEdit is never used

JSPMoveParticipant.java :

36 : import org.eclipse.text.edits.TextEdit;

Source File: org/eclipse/jst/jsp/ui/internal/java/refactoring/JSPRenameParticipant.java
1. WARNING: UnusedImport

The import org.eclipse.ltk.core.refactoring.participants.RefactoringParticipant is never used

JSPRenameParticipant.java :

30 : import org.eclipse.ltk.core.refactoring.participants.RefactoringParticipant;

2. WARNING: UnusedImport

The import org.eclipse.text.edits.TextEdit is never used

JSPRenameParticipant.java :

34 : import org.eclipse.text.edits.TextEdit;

Source File: org/eclipse/jst/jsp/ui/internal/java/refactoring/JSPRenameUndoChange.java
1. WARNING: UnusedImport

The import org.eclipse.core.resources.IFile is never used

JSPRenameUndoChange.java :

13 : import org.eclipse.core.resources.IFile;

2. WARNING: UnusedImport

The import org.eclipse.jface.text.IDocument is never used

JSPRenameUndoChange.java :

16 : import org.eclipse.jface.text.IDocument;

3. WARNING: UnusedImport

The import org.eclipse.ui.texteditor.ITextEditor is never used

JSPRenameUndoChange.java :

18 : import org.eclipse.ui.texteditor.ITextEditor;

Source File: org/eclipse/jst/jsp/ui/internal/taginfo/JSPJavaJavadocHoverProcessor.java
1. WARNING: DiscouragedReference

Discouraged access: The type HTMLPrinter is not accessible due to restriction on classpath entry /opt/public/webtools/projects/patches-R3.2.2-P/eclipse/plugins/org.eclipse.jface.text_3.6.1.r361_v20100825-0800.jar

JSPJavaJavadocHoverProcessor.java :

20 : import org.eclipse.jface.internal.text.html.HTMLPrinter;

2. WARNING: DiscouragedReference

Discouraged access: The type HTMLPrinter is not accessible due to restriction on classpath entry /opt/public/webtools/projects/patches-R3.2.2-P/eclipse/plugins/org.eclipse.jface.text_3.6.1.r361_v20100825-0800.jar

JSPJavaJavadocHoverProcessor.java :

51 : HTMLPrinter.startBulletList(buffer);

3. WARNING: DiscouragedReference

Discouraged access: The method startBulletList(StringBuffer) from the type HTMLPrinter is not accessible due to restriction on classpath entry /opt/public/webtools/projects/patches-R3.2.2-P/eclipse/plugins/org.eclipse.jface.text_3.6.1.r361_v20100825-0800.jar

JSPJavaJavadocHoverProcessor.java :

51 : HTMLPrinter.startBulletList(buffer);

4. WARNING: DiscouragedReference

Discouraged access: The type HTMLPrinter is not accessible due to restriction on classpath entry /opt/public/webtools/projects/patches-R3.2.2-P/eclipse/plugins/org.eclipse.jface.text_3.6.1.r361_v20100825-0800.jar

JSPJavaJavadocHoverProcessor.java :

54 : HTMLPrinter.addBullet(buffer, getInfoText(curr));

5. WARNING: DiscouragedReference

Discouraged access: The method addBullet(StringBuffer, String) from the type HTMLPrinter is not accessible due to restriction on classpath entry /opt/public/webtools/projects/patches-R3.2.2-P/eclipse/plugins/org.eclipse.jface.text_3.6.1.r361_v20100825-0800.jar

JSPJavaJavadocHoverProcessor.java :

54 : HTMLPrinter.addBullet(buffer, getInfoText(curr));

6. WARNING: DiscouragedReference

Discouraged access: The type HTMLPrinter is not accessible due to restriction on classpath entry /opt/public/webtools/projects/patches-R3.2.2-P/eclipse/plugins/org.eclipse.jface.text_3.6.1.r361_v20100825-0800.jar

JSPJavaJavadocHoverProcessor.java :

55 : HTMLPrinter.endBulletList(buffer);

7. WARNING: DiscouragedReference

Discouraged access: The method endBulletList(StringBuffer) from the type HTMLPrinter is not accessible due to restriction on classpath entry /opt/public/webtools/projects/patches-R3.2.2-P/eclipse/plugins/org.eclipse.jface.text_3.6.1.r361_v20100825-0800.jar

JSPJavaJavadocHoverProcessor.java :

55 : HTMLPrinter.endBulletList(buffer);

8. WARNING: DiscouragedReference

Discouraged access: The type HTMLPrinter is not accessible due to restriction on classpath entry /opt/public/webtools/projects/patches-R3.2.2-P/eclipse/plugins/org.eclipse.jface.text_3.6.1.r361_v20100825-0800.jar

JSPJavaJavadocHoverProcessor.java :

64 : HTMLPrinter.addSmallHeader(buffer, getInfoText(member));

9. WARNING: DiscouragedReference

Discouraged access: The method addSmallHeader(StringBuffer, String) from the type HTMLPrinter is not accessible due to restriction on classpath entry /opt/public/webtools/projects/patches-R3.2.2-P/eclipse/plugins/org.eclipse.jface.text_3.6.1.r361_v20100825-0800.jar

JSPJavaJavadocHoverProcessor.java :

64 : HTMLPrinter.addSmallHeader(buffer, getInfoText(member));

10. WARNING: DiscouragedReference

Discouraged access: The type HTMLPrinter is not accessible due to restriction on classpath entry /opt/public/webtools/projects/patches-R3.2.2-P/eclipse/plugins/org.eclipse.jface.text_3.6.1.r361_v20100825-0800.jar

JSPJavaJavadocHoverProcessor.java :

73 : HTMLPrinter.addParagraph(buffer, reader);

11. WARNING: DiscouragedReference

Discouraged access: The method addParagraph(StringBuffer, Reader) from the type HTMLPrinter is not accessible due to restriction on classpath entry /opt/public/webtools/projects/patches-R3.2.2-P/eclipse/plugins/org.eclipse.jface.text_3.6.1.r361_v20100825-0800.jar

JSPJavaJavadocHoverProcessor.java :

73 : HTMLPrinter.addParagraph(buffer, reader);

12. WARNING: DiscouragedReference

Discouraged access: The type HTMLPrinter is not accessible due to restriction on classpath entry /opt/public/webtools/projects/patches-R3.2.2-P/eclipse/plugins/org.eclipse.jface.text_3.6.1.r361_v20100825-0800.jar

JSPJavaJavadocHoverProcessor.java :

77 : HTMLPrinter.addSmallHeader(buffer, getInfoText(curr));

13. WARNING: DiscouragedReference

Discouraged access: The method addSmallHeader(StringBuffer, String) from the type HTMLPrinter is not accessible due to restriction on classpath entry /opt/public/webtools/projects/patches-R3.2.2-P/eclipse/plugins/org.eclipse.jface.text_3.6.1.r361_v20100825-0800.jar

JSPJavaJavadocHoverProcessor.java :

77 : HTMLPrinter.addSmallHeader(buffer, getInfoText(curr));

14. WARNING: DiscouragedReference

Discouraged access: The type HTMLPrinter is not accessible due to restriction on classpath entry /opt/public/webtools/projects/patches-R3.2.2-P/eclipse/plugins/org.eclipse.jface.text_3.6.1.r361_v20100825-0800.jar

JSPJavaJavadocHoverProcessor.java :

81 : HTMLPrinter.insertPageProlog(buffer, 0);

15. WARNING: DiscouragedReference

Discouraged access: The method insertPageProlog(StringBuffer, int) from the type HTMLPrinter is not accessible due to restriction on classpath entry /opt/public/webtools/projects/patches-R3.2.2-P/eclipse/plugins/org.eclipse.jface.text_3.6.1.r361_v20100825-0800.jar

JSPJavaJavadocHoverProcessor.java :

81 : HTMLPrinter.insertPageProlog(buffer, 0);

16. WARNING: DiscouragedReference

Discouraged access: The type HTMLPrinter is not accessible due to restriction on classpath entry /opt/public/webtools/projects/patches-R3.2.2-P/eclipse/plugins/org.eclipse.jface.text_3.6.1.r361_v20100825-0800.jar

JSPJavaJavadocHoverProcessor.java :

82 : HTMLPrinter.addPageEpilog(buffer);

17. WARNING: DiscouragedReference

Discouraged access: The method addPageEpilog(StringBuffer) from the type HTMLPrinter is not accessible due to restriction on classpath entry /opt/public/webtools/projects/patches-R3.2.2-P/eclipse/plugins/org.eclipse.jface.text_3.6.1.r361_v20100825-0800.jar

JSPJavaJavadocHoverProcessor.java :

82 : HTMLPrinter.addPageEpilog(buffer);