Skip to content

Commit 346aa34

Browse files
Rob Strykerlaeubi
authored andcommitted
Fix spelling errors in user-visible error messages
Signed-off-by: Rob Stryker <[email protected]>
1 parent b27d023 commit 346aa34

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

org.eclipse.m2e.core/src/org/eclipse/m2e/core/embedder/IMavenExecutionContext.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ static IMavenExecutionContext of(File baseDir) throws CoreException {
164164
return new MavenExecutionContext(containerManager.getComponentLookup(baseDir), baseDir, null);
165165
} catch(Exception ex) {
166166
throw new CoreException(
167-
Status.error("aquire container for basedir " + baseDir.getAbsolutePath() + " failed!", ex));
167+
Status.error("Acquire container for basedir " + baseDir.getAbsolutePath() + " failed!", ex));
168168
}
169169

170170
}

org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/project/registry/MavenProjectFacade.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ public IMavenExecutionContext createExecutionContext() {
620620
try {
621621
container = containerManager.aquire(multiModuleProjectDirectory);
622622
} catch(Exception ex) {
623-
throw new RuntimeException("Aquire container failed!", ex);
623+
throw new RuntimeException("Acquire container failed!", ex);
624624
}
625625
MavenProject mavenProject = tryGetMavenProject();
626626
if(mavenProject == null) {

org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/project/registry/ProjectRegistryManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1034,7 +1034,7 @@ private IMavenExecutionContext createExecutionContext(IProjectRegistry state, IF
10341034
context = new MavenExecutionContext(containerManager.aquire(pom).getComponentLookup(), basedir, null);
10351035
}
10361036
} catch(Exception ex) {
1037-
throw new CoreException(Status.error("aquire container failed", ex));
1037+
throw new CoreException(Status.error("Acquire container failed", ex));
10381038
}
10391039
configureExecutionRequest(context.getExecutionRequest(), state, pom, resolverConfiguration);
10401040
return context;

0 commit comments

Comments
 (0)