Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.search/search/org/eclipse/search/internal/ui/util/FileLabelProvider.java1
-rw-r--r--org.eclipse.search/search/org/eclipse/search/internal/workingsets/WorkingSetSelectionDialog.java1
2 files changed, 0 insertions, 2 deletions
diff --git a/org.eclipse.search/search/org/eclipse/search/internal/ui/util/FileLabelProvider.java b/org.eclipse.search/search/org/eclipse/search/internal/ui/util/FileLabelProvider.java
index 154067ddc..0f23ed46a 100644
--- a/org.eclipse.search/search/org/eclipse/search/internal/ui/util/FileLabelProvider.java
+++ b/org.eclipse.search/search/org/eclipse/search/internal/ui/util/FileLabelProvider.java
@@ -48,7 +48,6 @@ public class FileLabelProvider extends LabelProvider {
if (resource == null || !resource.exists())
return SearchMessages.getString("SearchResultView.removed_resource"); //$NON-NLS-1$
- StringBuffer buf;
IPath path= resource.getFullPath().removeLastSegments(1);
if (path.getDevice() == null)
path= path.makeRelative();
diff --git a/org.eclipse.search/search/org/eclipse/search/internal/workingsets/WorkingSetSelectionDialog.java b/org.eclipse.search/search/org/eclipse/search/internal/workingsets/WorkingSetSelectionDialog.java
index c43689f0c..2d8338146 100644
--- a/org.eclipse.search/search/org/eclipse/search/internal/workingsets/WorkingSetSelectionDialog.java
+++ b/org.eclipse.search/search/org/eclipse/search/internal/workingsets/WorkingSetSelectionDialog.java
@@ -225,7 +225,6 @@ public class WorkingSetSelectionDialog extends SelectionDialog {
}
private void removeSelectedWorkingSets() {
- List result= new ArrayList(1);
ISelection selection= fListViewer.getSelection();
if (selection instanceof IStructuredSelection) {
Iterator iter= ((IStructuredSelection)selection).iterator();

Back to the top