Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2019-06-25 07:12:00 +0000
committerLars Vogel2019-06-25 07:12:00 +0000
commitdcc5dc9c9c6be1356e6fcc76cf06c9912feb98ea (patch)
treea5e6aac13a1683e8baea11602d4373bdd7a0933a
parent1ad679878046a65003a885ee0c5c701654f19154 (diff)
downloadeclipse.jdt.core-dcc5dc9c9c6be1356e6fcc76cf06c9912feb98ea.tar.gz
eclipse.jdt.core-dcc5dc9c9c6be1356e6fcc76cf06c9912feb98ea.tar.xz
eclipse.jdt.core-dcc5dc9c9c6be1356e6fcc76cf06c9912feb98ea.zip
Bug 548505 - Removes unused variable in CompilationUnitI20190625-0535
Change-Id: Icbb78a2bcb6e599bbef09dc5cd1f6ffefff8c89d Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
-rw-r--r--org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CompilationUnit.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CompilationUnit.java b/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CompilationUnit.java
index a93ab1ffac..45303aa290 100644
--- a/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CompilationUnit.java
+++ b/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CompilationUnit.java
@@ -634,7 +634,6 @@ public ICompilationUnit findWorkingCopy(WorkingCopyOwner workingCopyOwner) {
@Override
public IType[] getAllTypes() throws JavaModelException {
IJavaElement[] types = getTypes();
- int i;
ArrayList allTypes = new ArrayList(types.length);
ArrayList typesToTraverse = new ArrayList(types.length);
Collections.addAll(typesToTraverse, types);

Back to the top