Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz Zarna2015-03-06 10:56:53 +0000
committerTomasz Zarna2015-03-06 10:56:53 +0000
commitf6d191ddb978e8bfa586f493efa25b7889a96ac7 (patch)
tree3eed387d351746c0eab11ee277474fa4b052610c /bundles/org.eclipse.equinox.p2.installer
parenta8ce0c914e73f3a85d0559bef77fdbdc91401b7e (diff)
downloadrt.equinox.p2-f6d191ddb978e8bfa586f493efa25b7889a96ac7.tar.gz
rt.equinox.p2-f6d191ddb978e8bfa586f493efa25b7889a96ac7.tar.xz
rt.equinox.p2-f6d191ddb978e8bfa586f493efa25b7889a96ac7.zip
fix 'Non-externalized string literal' warnings in InstallDescParser
Change-Id: I67ce951add3779d55aca726461981fe162bf8910 Signed-off-by: Tomasz Zarna <tomasz.zarna@tasktop.com>
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.installer')
-rw-r--r--bundles/org.eclipse.equinox.p2.installer/src/org/eclipse/equinox/internal/p2/installer/InstallDescriptionParser.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/bundles/org.eclipse.equinox.p2.installer/src/org/eclipse/equinox/internal/p2/installer/InstallDescriptionParser.java b/bundles/org.eclipse.equinox.p2.installer/src/org/eclipse/equinox/internal/p2/installer/InstallDescriptionParser.java
index 6fd6c4eb7..938e41dfc 100644
--- a/bundles/org.eclipse.equinox.p2.installer/src/org/eclipse/equinox/internal/p2/installer/InstallDescriptionParser.java
+++ b/bundles/org.eclipse.equinox.p2.installer/src/org/eclipse/equinox/internal/p2/installer/InstallDescriptionParser.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2010 IBM Corporation and others.
+ * Copyright (c) 2007, 2015 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -53,14 +53,14 @@ public class InstallDescriptionParser {
URI propsURI = URIUtil.fromString(site);
InputStream in = null;
if (!propsURI.isAbsolute()) {
- String installerInstallArea = System.getProperty("osgi.install.area");
+ String installerInstallArea = System.getProperty("osgi.install.area"); //$NON-NLS-1$
if (installerInstallArea == null)
- throw new IllegalStateException("Install area is not specified.");
+ throw new IllegalStateException("Install area is not specified."); //$NON-NLS-1$
propsURI = URIUtil.append(URIUtil.fromString(installerInstallArea), site);
File installerDescription = URIUtil.toFile(propsURI);
if (!installerDescription.exists()) {
- throw new IllegalStateException("Can't find install description file: " + installerDescription);
+ throw new IllegalStateException("Can't find install description file: " + installerDescription); //$NON-NLS-1$
}
}
Map<String, String> properties;

Back to the top