Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Swanson2003-04-24 16:51:38 +0000
committerDarin Swanson2003-04-24 16:51:38 +0000
commiteedd2d300239c15a80481e60b4102d7ff0757043 (patch)
tree7d7f21be6bffdec9720721c0f35a68c26fbcc16d
parentad4d89c87012ecc2382ec9fe72b2a6acc78e0fe5 (diff)
downloadeclipse.platform.debug-eedd2d300239c15a80481e60b4102d7ff0757043.tar.gz
eclipse.platform.debug-eedd2d300239c15a80481e60b4102d7ff0757043.tar.xz
eclipse.platform.debug-eedd2d300239c15a80481e60b4102d7ff0757043.zip
Renamed local variable that was hiding a field
-rw-r--r--org.eclipse.ui.externaltools/Ant Editor/org/eclipse/ui/externaltools/internal/ant/editor/AntEditorCompletionProcessor.java7
-rw-r--r--org.eclipse.ui.externaltools/Ant Editor/org/eclipse/ui/externaltools/internal/ant/editor/utils/ProjectHelperImpl.java6
2 files changed, 5 insertions, 8 deletions
diff --git a/org.eclipse.ui.externaltools/Ant Editor/org/eclipse/ui/externaltools/internal/ant/editor/AntEditorCompletionProcessor.java b/org.eclipse.ui.externaltools/Ant Editor/org/eclipse/ui/externaltools/internal/ant/editor/AntEditorCompletionProcessor.java
index fe8f5e3b3..e81410338 100644
--- a/org.eclipse.ui.externaltools/Ant Editor/org/eclipse/ui/externaltools/internal/ant/editor/AntEditorCompletionProcessor.java
+++ b/org.eclipse.ui.externaltools/Ant Editor/org/eclipse/ui/externaltools/internal/ant/editor/AntEditorCompletionProcessor.java
@@ -142,7 +142,6 @@ public class AntEditorCompletionProcessor implements IContentAssistProcessor {
return false;
}
-
/**
* Removes the specified proposal.
*
@@ -245,8 +244,8 @@ public class AntEditorCompletionProcessor implements IContentAssistProcessor {
/**
* @see org.eclipse.jface.text.contentassist.IContentAssistProcessor#computeCompletionProposals(ITextViewer, int)
*/
- public ICompletionProposal[] computeCompletionProposals(ITextViewer viewer, int documentOffset) {
- this.viewer = viewer;
+ public ICompletionProposal[] computeCompletionProposals(ITextViewer refViewer, int documentOffset) {
+ this.viewer = refViewer;
return determineProposals();
}
@@ -255,7 +254,7 @@ public class AntEditorCompletionProcessor implements IContentAssistProcessor {
/**
* @see org.eclipse.jface.text.contentassist.IContentAssistProcessor#computeContextInformation(ITextViewer, int)
*/
- public IContextInformation[] computeContextInformation(ITextViewer viewer, int documentOffset) {
+ public IContextInformation[] computeContextInformation(ITextViewer refViewer, int documentOffset) {
return new IContextInformation[0];
}
diff --git a/org.eclipse.ui.externaltools/Ant Editor/org/eclipse/ui/externaltools/internal/ant/editor/utils/ProjectHelperImpl.java b/org.eclipse.ui.externaltools/Ant Editor/org/eclipse/ui/externaltools/internal/ant/editor/utils/ProjectHelperImpl.java
index fe3aa8888..b4bdb6c19 100644
--- a/org.eclipse.ui.externaltools/Ant Editor/org/eclipse/ui/externaltools/internal/ant/editor/utils/ProjectHelperImpl.java
+++ b/org.eclipse.ui.externaltools/Ant Editor/org/eclipse/ui/externaltools/internal/ant/editor/utils/ProjectHelperImpl.java
@@ -158,11 +158,11 @@ public class ProjectHelperImpl extends org.apache.tools.ant.helper.ProjectHelper
*
* @author Alf Schiefelbein
*/
- public void parse(Project project, File aFile, String sourceAsString) throws BuildException {
+ public void parse(Project refProject, File aFile, String sourceAsString) throws BuildException {
FileInputStream inputStream = null;
InputSource inputSource = null;
- this.project = project;
+ this.project = refProject;
this.buildFile = new File(aFile.getAbsolutePath());
buildFileParent = new File(this.buildFile.getParent());
@@ -227,8 +227,6 @@ public class ProjectHelperImpl extends org.apache.tools.ant.helper.ProjectHelper
}
}
-
-
/**
* The common superclass for all SAX event handlers used to parse
* the configuration file. Each method just throws an exception,

Back to the top