Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Sewe2016-09-08 11:46:32 +0000
committerAndreas Sewe2016-09-08 12:35:39 +0000
commit1f2340995fb730cf776b47ee4b84a45469c5e392 (patch)
tree1c2f11929a88dd3cc316f720791244c96097b7e3 /bundles/org.eclipse.osgi/supplement/src
parentfef33690b9c5b85c608f5466aeede64a8c18b9b7 (diff)
downloadrt.equinox.framework-1f2340995fb730cf776b47ee4b84a45469c5e392.tar.gz
rt.equinox.framework-1f2340995fb730cf776b47ee4b84a45469c5e392.tar.xz
rt.equinox.framework-1f2340995fb730cf776b47ee4b84a45469c5e392.zip
Change-Id: I8e8dde9b777054ea62c5e6d0ce38191d50bf8c92 Signed-off-by: Andreas Sewe <andreas.sewe@codetrails.com>
Diffstat (limited to 'bundles/org.eclipse.osgi/supplement/src')
-rw-r--r--bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/util/NLS.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/util/NLS.java b/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/util/NLS.java
index 9caef08f5..3a454094a 100644
--- a/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/util/NLS.java
+++ b/bundles/org.eclipse.osgi/supplement/src/org/eclipse/osgi/util/NLS.java
@@ -189,7 +189,7 @@ public abstract class NLS {
try {
number = Integer.parseInt(message.substring(i, index));
} catch (NumberFormatException e) {
- throw (IllegalArgumentException) new IllegalArgumentException().initCause(e);
+ throw new IllegalArgumentException(e);
}
if (number == 0 && argZero != null)
buffer.append(argZero);

Back to the top