mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Cleanup (typos)
This commit is contained in:
+4
-2
@@ -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";
|
||||
|
||||
+2
-2
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user