Bug 136480 - Performance improvement for the AntModel
diff --git a/ant/org.eclipse.ant.ui/Ant Tools Support/org/eclipse/ant/internal/ui/model/AntModel.java b/ant/org.eclipse.ant.ui/Ant Tools Support/org/eclipse/ant/internal/ui/model/AntModel.java
index 463dbfe..7a499fd 100644
--- a/ant/org.eclipse.ant.ui/Ant Tools Support/org/eclipse/ant/internal/ui/model/AntModel.java
+++ b/ant/org.eclipse.ant.ui/Ant Tools Support/org/eclipse/ant/internal/ui/model/AntModel.java
@@ -234,7 +234,7 @@
AntProjectNode projectNode= getProjectNode();
if (projectNode != null) {
//cleanup the introspection helpers that may have been generated
- IntrospectionHelper.getHelper(projectNode.getProject(), AntModel.class);
+ IntrospectionHelper.getHelper(projectNode.getProject(), Small.class);
projectNode.getProject().fireBuildFinished(null);
}
}
@@ -1794,4 +1794,10 @@
}
return null;
}
+
+ /**
+ * @see AntModel#cleanup()
+ */
+ class Small {
+ }
}
\ No newline at end of file