Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,7 @@
fShareHistoryButton.setLayoutData(data);
fShareHistoryButton.setSelection(hasSharedRefactoringHistory());

@SuppressWarnings("unused")
Label label= new Label(composite, SWT.NONE);
new Label(composite, SWT.NONE);

Check warning on line 200 in bundles/org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/internal/ui/refactoring/history/RefactoringPropertyPage.java

View check run for this annotation

Jenkins - Eclipse Platform / Compiler and API Tools

Potential Programming Problem

LOW: The allocated object is never used

final IProject project= getCurrentProject();
if (project != null) {
Expand Down
2 changes: 1 addition & 1 deletion bundles/org.eclipse.search/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.search; singleton:=true
Bundle-Version: 3.17.0.qualifier
Bundle-Version: 3.17.100.qualifier
Bundle-Activator: org.eclipse.search.internal.ui.SearchPlugin
Bundle-ActivationPolicy: lazy
Bundle-Vendor: %providerName
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,7 @@
new char[0],
true);

@SuppressWarnings("unused")
Label label = new Label(result, SWT.NONE);
new Label(result, SWT.NONE);

Check warning on line 130 in bundles/org.eclipse.search/search/org/eclipse/search/internal/ui/text/ReplaceConfigurationPage.java

View check run for this annotation

Jenkins - Eclipse Platform / Compiler and API Tools

Potential Programming Problem

LOW: The allocated object is never used
fReplaceWithRegex= new Button(result, SWT.CHECK);
fReplaceWithRegex.setText(SearchMessages.ReplaceConfigurationPage_isRegex_label);
fReplaceWithRegex.addSelectionListener(new SelectionAdapter() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -339,8 +339,7 @@
});
setGridData(fSelectAllButton, SWT.FILL, true, SWT.FILL, false);

@SuppressWarnings("unused")
Label filler = new Label(panel, SWT.NONE); // filler
new Label(panel, SWT.NONE);

Check warning on line 342 in bundles/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/FindReplaceDialog.java

View check run for this annotation

Jenkins - Eclipse Platform / Compiler and API Tools

Potential Programming Problem

LOW: The allocated object is never used

fReplaceFindButton = makeButton(panel, FindReplaceMessages.FindReplace_ReplaceFindButton_label, 103, false,
new SelectionAdapter() {
Expand Down
Loading