Compiler Report

Compiler: Eclipse Compiler for Java(TM) Version: 0.C58, 3.8.0

Number of source files: 291 Number of classfiles: 566

Problems: 35 (Errors: 0 Warnings: 35 )

Source File: org/eclipse/wst/sse/ui/StructuredTextEditor.java
1. WARNING: DeadCode

Dead code

StructuredTextEditor.java :

648 : if (selection == null) { selection = new StructuredTextSelection(getDocument(), (ITextSelection) selection, new Object[0]); }

2. WARNING: DeadCode

Dead code

StructuredTextEditor.java :

758 : selection = new StructuredTextSelection(getDocument(), (ITextSelection) event.getSelection(), new Object[0]);

Source File: org/eclipse/wst/sse/ui/contentassist/ICompletionProposalComputer.java
1. WARNING: UnusedImport

The import org.eclipse.jface.text.contentassist.ICompletionProposal is never used

ICompletionProposalComputer.java :

16 : import org.eclipse.jface.text.contentassist.ICompletionProposal;

2. WARNING: UnusedImport

The import org.eclipse.jface.text.contentassist.IContextInformation is never used

ICompletionProposalComputer.java :

17 : import org.eclipse.jface.text.contentassist.IContextInformation;

Source File: org/eclipse/wst/sse/ui/internal/GotoAnnotationAction.java
1. WARNING: DeadCode

Dead code

GotoAnnotationAction.java :

247 : if (false /* delayed - see bug 18316 */) { getNextAnnotation(selection.getOffset(), selection.getLength(), forward, position); getTextEditor().selectAndReveal(position.getOffset(), position.getLength()); }

Source File: org/eclipse/wst/sse/ui/internal/StructuredDocumentToTextAdapter.java
1. WARNING: DeadCode

Dead code

StructuredDocumentToTextAdapter.java :

354 : if (DEBUG && fDocument != null && !(fDocument instanceof ILockable)) {

2. WARNING: DeadCode

Dead code

StructuredDocumentToTextAdapter.java :

354 : if (DEBUG && fDocument != null && !(fDocument instanceof ILockable)) { System.out.println("Warning: non ILockable document used in StructuredDocumentToTextAdapter"); //$NON-NLS-1$ System.out.println(" document updates on non-display thread will not be safe if editor open"); //$NON-NLS-1$ }

3. WARNING: DeadCode

Dead code

StructuredDocumentToTextAdapter.java :

982 : if (Debug.debugStructuredDocument && getDocument() != null) {

4. WARNING: DeadCode

Dead code

StructuredDocumentToTextAdapter.java :

982 : if (Debug.debugStructuredDocument && getDocument() != null) { System.out.println("NOT relaying text changed (" + getDocument().getLength() + ")"); //$NON-NLS-1$ //$NON-NLS-2$ }

5. WARNING: DeadCode

Dead code

StructuredDocumentToTextAdapter.java :

987 : if (Debug.debugStructuredDocument && getDocument() != null) {

6. WARNING: DeadCode

Dead code

StructuredDocumentToTextAdapter.java :

987 : if (Debug.debugStructuredDocument && getDocument() != null) { System.out.println("relaying text changed (" + getDocument().getLength() + ")"); //$NON-NLS-1$ //$NON-NLS-2$ }

7. WARNING: DeadCode

Dead code

StructuredDocumentToTextAdapter.java :

1021 : if (Debug.debugStructuredDocument && getDocument() != null) {

8. WARNING: DeadCode

Dead code

StructuredDocumentToTextAdapter.java :

1021 : if (Debug.debugStructuredDocument && getDocument() != null) { System.out.println("NOT relaying text changing: " + requestedStart + ":" + getDocument().getLength()); //$NON-NLS-1$ //$NON-NLS-2$ }

9. WARNING: DeadCode

Dead code

StructuredDocumentToTextAdapter.java :

1026 : if (Debug.debugStructuredDocument && getDocument() != null) {

10. WARNING: DeadCode

Dead code

StructuredDocumentToTextAdapter.java :

1026 : if (Debug.debugStructuredDocument && getDocument() != null) { System.out.println("relaying text changing: " + requestedStart + ":" + getDocument().getLength()); //$NON-NLS-1$ //$NON-NLS-2$ }

11. WARNING: DeadCode

Dead code

StructuredDocumentToTextAdapter.java :

1072 : if (Debug.debugStructuredDocument && getDocument() != null) {

12. WARNING: DeadCode

Dead code

StructuredDocumentToTextAdapter.java :

1072 : if (Debug.debugStructuredDocument && getDocument() != null) { System.out.println("NOT relaying text set (" + getDocument().getLength() + ")"); //$NON-NLS-1$ //$NON-NLS-2$ }

13. WARNING: DeadCode

Dead code

StructuredDocumentToTextAdapter.java :

1077 : if (Debug.debugStructuredDocument && getDocument() != null) {

14. WARNING: DeadCode

Dead code

StructuredDocumentToTextAdapter.java :

1077 : if (Debug.debugStructuredDocument && getDocument() != null) { System.out.println("relaying text set (" + getDocument().getLength() + ")"); //$NON-NLS-1$ //$NON-NLS-2$ }

Source File: org/eclipse/wst/sse/ui/internal/extension/ActionDescriptor.java
1. WARNING: DeadCode

Dead code

ActionDescriptor.java :

272 : return null;

Source File: org/eclipse/wst/sse/ui/internal/handlers/ToggleLineCommentHandler.java
1. WARNING: UnusedImport

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

ToggleLineCommentHandler.java :

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

2. WARNING: UnusedImport

The import org.eclipse.wst.sse.ui.internal.comment.BlockCommentingStrategy is never used

ToggleLineCommentHandler.java :

37 : import org.eclipse.wst.sse.ui.internal.comment.BlockCommentingStrategy;

3. WARNING: UnusedImport

The import org.eclipse.wst.sse.ui.internal.comment.LineCommentingStrategy is never used

ToggleLineCommentHandler.java :

40 : import org.eclipse.wst.sse.ui.internal.comment.LineCommentingStrategy;

Source File: org/eclipse/wst/sse/ui/internal/preferences/ui/StyledTextColorPicker.java
1. WARNING: DeadCode

Dead code

StyledTextColorPicker.java :

132 : } else if (showItalic && e.widget == fItalic) {

2. WARNING: DeadCode

Dead code

StyledTextColorPicker.java :

132 : } else if (showItalic && e.widget == fItalic) { // get current (newly old) style String prefString = getPreferenceStore().getString(namedStyle); String[] stylePrefs = ColorHelper.unpackStylePreferences(prefString); if (stylePrefs != null) { String oldValue = stylePrefs[3]; String newValue = String.valueOf(fItalic.getSelection()); if (!newValue.equals(oldValue)) { stylePrefs[3] = newValue; String newPrefString = ColorHelper.packStylePreferences(stylePrefs); getPreferenceStore().setValue(namedStyle, newPrefString); refresh(); } } } else if (e.widget == fClearStyle) {

Source File: org/eclipse/wst/sse/ui/internal/provisional/style/AbstractLineStyleProvider.java
1. WARNING: DeadCode

Dead code

AbstractLineStyleProvider.java :

294 : if ((styleRange != null) && (previousAttr != null) && (previousAttr.equals(attr))) { styleRange.length += region.getLength(); } else {

2. WARNING: DeadCode

Dead code

AbstractLineStyleProvider.java :

348 : if ((styleRange != null) && (previousAttr != null) && (previousAttr.equals(attr))) { styleRange.length += region.getLength(); } else {

3. WARNING: DeadCode

Dead code

AbstractLineStyleProvider.java :

364 : if (Debug.syntaxHighlighting && !handled) {

4. WARNING: DeadCode

Dead code

AbstractLineStyleProvider.java :

364 : if (Debug.syntaxHighlighting && !handled) { System.out.println("not handled in prepareRegions"); //$NON-NLS-1$ }

Source File: org/eclipse/wst/sse/ui/internal/provisional/style/Highlighter.java
1. WARNING: DeadCode

Dead code

Highlighter.java :

289 : if (LEFT_STYLES_SIZE + MIDDLE_STYLES_SIZE + RIGHT_STYLES_SIZE > MAX_NUMBER_STYLES) { throw new IllegalStateException("Highligher constants are not defined correctly"); //$NON-NLS-1$ }

2. WARNING: DeadCode

Dead code

Highlighter.java :

784 : if (Debug.syntaxHighlighting && !handled) {

3. WARNING: DeadCode

Dead code

Highlighter.java :

784 : if (Debug.syntaxHighlighting && !handled) { System.out.println("Did not handle highlighting in Highlighter inner while"); //$NON-NLS-1$ }

Source File: org/eclipse/wst/sse/ui/internal/ui/OffsetStatusLineContributionItem.java
1. WARNING: DeadCode

Dead code

OffsetStatusLineContributionItem.java :

364 : type = ""; //$NON-NLS-1$

Source File: org/eclipse/wst/sse/ui/preferences/AbstractCompletionProposalCategoriesConfiguration.java
1. WARNING: UnusedImport

The import org.eclipse.wst.sse.ui.internal.contentassist.CompletionProposalCategory is never used

AbstractCompletionProposalCategoriesConfiguration.java :

20 : import org.eclipse.wst.sse.ui.internal.contentassist.CompletionProposalCategory;

Source File: org/eclipse/wst/sse/ui/preferences/ICompletionProposalCategoriesConfigurationWriter.java
1. WARNING: UnusedImport

The import org.eclipse.wst.sse.ui.internal.contentassist.CompletionProposalCategory is never used

ICompletionProposalCategoriesConfigurationWriter.java :

15 : import org.eclipse.wst.sse.ui.internal.contentassist.CompletionProposalCategory;