Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipe Mulet2001-06-27 13:47:41 +0000
committerPhilipe Mulet2001-06-27 13:47:41 +0000
commit7ad0eeadaceb44e1b53b562d9f600c27360591cc (patch)
tree9465a3080465446c79310af2322c84b7fc31c4ac /org.eclipse.jdt.core/model/org/eclipse/jdt/core
parentf18f101504d491f42c18b6e21a877c9a1f857fd9 (diff)
downloadeclipse.jdt.core-7ad0eeadaceb44e1b53b562d9f600c27360591cc.tar.gz
eclipse.jdt.core-7ad0eeadaceb44e1b53b562d9f600c27360591cc.tar.xz
eclipse.jdt.core-7ad0eeadaceb44e1b53b562d9f600c27360591cc.zip
externalization in progress
Diffstat (limited to 'org.eclipse.jdt.core/model/org/eclipse/jdt/core')
-rw-r--r--org.eclipse.jdt.core/model/org/eclipse/jdt/core/JavaCore.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.jdt.core/model/org/eclipse/jdt/core/JavaCore.java b/org.eclipse.jdt.core/model/org/eclipse/jdt/core/JavaCore.java
index 5ac6757060..77b181b47e 100644
--- a/org.eclipse.jdt.core/model/org/eclipse/jdt/core/JavaCore.java
+++ b/org.eclipse.jdt.core/model/org/eclipse/jdt/core/JavaCore.java
@@ -831,7 +831,7 @@ public static IClasspathEntry newSourceEntry(IPath path){
* or <code>null</code> if <code>archivePath</code> is also <code>null</code>
*/
public static IClasspathEntry newVariableEntry(IPath variablePath, IPath variableSourceAttachmentPath, IPath sourceAttachmentRootPath){
- Assert.isTrue(variablePath != null && variablePath.segmentCount() >= 1, "invalid variable path");
+ Assert.isTrue(variablePath != null && variablePath.segmentCount() >= 1, Util.bind("classpath.illegalVariablePath"/*nonNLS*/));
return new ClasspathEntry(
IPackageFragmentRoot.K_SOURCE,
IClasspathEntry.CPE_VARIABLE,
@@ -925,7 +925,7 @@ public static void setClasspathVariable(String variableName, IPath path) throws
*/
public static void setClasspathVariable(String variableName, IPath path, IProgressMonitor monitor) throws JavaModelException {
- Assert.isTrue(path != null, "variable path cannot be null");
+ Assert.isTrue(path != null, Util.bind("classpath.nullVariablePath"/*nonNLS*/));
updateVariableValue(variableName, path, monitor);
}
/* (non-Javadoc)

Back to the top