Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Fedorenko2013-04-10 18:12:18 -0400
committerIgor Fedorenko2013-06-16 12:54:18 -0400
commit561d6fbfd7c132dcdc29f4bd610aa2a590c498c7 (patch)
tree65b4c443c4f3a4d05737dc03c2c49f3b566216f8 /org.eclipse.m2e.editor
parent83f6d238b62f35d5be5f4f58c01bd6af33ecef39 (diff)
downloadm2e-core-561d6fbfd7c132dcdc29f4bd610aa2a590c498c7.tar.gz
m2e-core-561d6fbfd7c132dcdc29f4bd610aa2a590c498c7.tar.xz
m2e-core-561d6fbfd7c132dcdc29f4bd610aa2a590c498c7.zip
Do not retain MavenProject instances forever
Before this change, MavenProject instances were eagerly loaded for each workspace Maven project are were retained for as long as the projects were opened. With this change, MavenProject instances are loaded on as needed basis and discarded when they are not needed any more. Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
Diffstat (limited to 'org.eclipse.m2e.editor')
-rw-r--r--org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/pom/MavenPomEditor.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/pom/MavenPomEditor.java b/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/pom/MavenPomEditor.java
index f3481c6f..c7935aad 100644
--- a/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/pom/MavenPomEditor.java
+++ b/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/pom/MavenPomEditor.java
@@ -1064,9 +1064,6 @@ public class MavenPomEditor extends FormEditor implements IResourceChangeListene
return pomFile;
}
- /**
- *
- */
private void reloadMavenProjectCache() {
//reload the cached MavenProject instance here.
Job jb = new Job("reload maven project") {

Back to the top