Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/index/NexusIndexManager.java')
-rw-r--r--org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/index/NexusIndexManager.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/index/NexusIndexManager.java b/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/index/NexusIndexManager.java
index 98c97137..47184423 100644
--- a/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/index/NexusIndexManager.java
+++ b/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/index/NexusIndexManager.java
@@ -178,7 +178,7 @@ public class NexusIndexManager implements IndexManager, IMavenProjectChangedList
this.repositoryRegistry = repositoryRegistry;
this.baseIndexDir = new File(stateDir, "nexus"); //$NON-NLS-1$
- this.maven = MavenPlugin.getDefault().getMaven();
+ this.maven = MavenPlugin.getMaven();
this.indexUpdater = MavenPluginActivator.getDefault().getIndexUpdater();
this.updaterJob = new IndexUpdaterJob(this);
@@ -1068,7 +1068,7 @@ public class NexusIndexManager implements IndexManager, IMavenProjectChangedList
} else {
if(!force) {
//if 'force' is not set, then only do the remote update if this value is set
- IMavenConfiguration mavenConfig = MavenPlugin.getDefault().getMavenConfiguration();
+ IMavenConfiguration mavenConfig = MavenPlugin.getMavenConfiguration();
if(mavenConfig.isUpdateIndexesOnStartup()) {
updateRemoteIndex(repository, force, monitor);
}

Back to the top