Cleanup (typos)

This commit is contained in:
Roman Shevchenko
2013-10-30 16:40:42 +01:00
parent a9eacb0f76
commit 8d80445b9d
3 changed files with 9 additions and 7 deletions
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2009 JetBrains s.r.o.
* Copyright 2000-2013 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -35,7 +35,9 @@ public class MavenConstants {
public static final String TYPE_WAR = "war";
public static final String SCOPE_COMPILE = "compile";
public static final String SCOPE_PROVIDEED = "provided";
public static final String SCOPE_PROVIDED = "provided";
/* @deprecated to remove in IDEA 14 */
@SuppressWarnings({"UnusedDeclaration", "SpellCheckingInspection"}) public static final String SCOPE_PROVIDEED = SCOPE_PROVIDED;
public static final String SCOPE_RUNTIME = "runtime";
public static final String SCOPE_TEST = "test";
public static final String SCOPE_SYSTEM = "system";
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2009 JetBrains s.r.o.
* Copyright 2000-2013 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -317,7 +317,7 @@ public class MavenModuleImporter {
public static DependencyScope selectScope(String mavenScope) {
if (MavenConstants.SCOPE_RUNTIME.equals(mavenScope)) return DependencyScope.RUNTIME;
if (MavenConstants.SCOPE_TEST.equals(mavenScope)) return DependencyScope.TEST;
if (MavenConstants.SCOPE_PROVIDEED.equals(mavenScope)) return DependencyScope.PROVIDED;
if (MavenConstants.SCOPE_PROVIDED.equals(mavenScope)) return DependencyScope.PROVIDED;
return DependencyScope.COMPILE;
}
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2012 JetBrains s.r.o.
* Copyright 2000-2013 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -529,7 +529,7 @@ public class MavenProject {
return null;
}
@NotNull
public String getOutputDirectory() {
return myState.myOutputDirectory;
@@ -803,7 +803,7 @@ public class MavenProject {
@NotNull
public Set<String> getSupportedDependencyScopes() {
Set<String> result = new THashSet<String>(Arrays.asList(MavenConstants.SCOPE_COMPILE,
MavenConstants.SCOPE_PROVIDEED,
MavenConstants.SCOPE_PROVIDED,
MavenConstants.SCOPE_RUNTIME,
MavenConstants.SCOPE_TEST,
MavenConstants.SCOPE_SYSTEM));