Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDani Megert2001-10-23 08:49:50 -0400
committerDani Megert2001-10-23 08:49:50 -0400
commit765539d7a7cd11b939ed46593e4925d0ef5697e0 (patch)
tree81928a185483db67c8e00cdded089fa804b76e67
parent85bff6327d5985d2b8339cbde998aecba600f952 (diff)
downloadeclipse.platform.text-765539d7a7cd11b939ed46593e4925d0ef5697e0.tar.gz
eclipse.platform.text-765539d7a7cd11b939ed46593e4925d0ef5697e0.tar.xz
eclipse.platform.text-765539d7a7cd11b939ed46593e4925d0ef5697e0.zip
Removed unused local variables
-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