Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSzymon Ptaszkiewicz2015-04-02 14:14:40 +0000
committerSzymon Ptaszkiewicz2015-04-02 15:51:35 +0000
commitcba87ed6f7cb782f4f19390ec5010752c4a669a4 (patch)
tree42a5a421e0d4b97aa290ea0f7499e6af5b27c85e /bundles/org.eclipse.osgi.compatibility.state
parente5576719716722b9078886cf0785538155272edd (diff)
downloadrt.equinox.framework-cba87ed6f7cb782f4f19390ec5010752c4a669a4.tar.gz
rt.equinox.framework-cba87ed6f7cb782f4f19390ec5010752c4a669a4.tar.xz
rt.equinox.framework-cba87ed6f7cb782f4f19390ec5010752c4a669a4.zip
Bug 463808 - Fix more warnings in rt.equinox.framework projects
Change-Id: Iff0856404654b19373a998999cc36488e637899b Signed-off-by: Szymon Ptaszkiewicz <szymon.ptaszkiewicz@pl.ibm.com>
Diffstat (limited to 'bundles/org.eclipse.osgi.compatibility.state')
-rw-r--r--bundles/org.eclipse.osgi.compatibility.state/src/org/eclipse/osgi/internal/resolver/StateWriter.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/bundles/org.eclipse.osgi.compatibility.state/src/org/eclipse/osgi/internal/resolver/StateWriter.java b/bundles/org.eclipse.osgi.compatibility.state/src/org/eclipse/osgi/internal/resolver/StateWriter.java
index 88e85ba4f..28ebabc70 100644
--- a/bundles/org.eclipse.osgi.compatibility.state/src/org/eclipse/osgi/internal/resolver/StateWriter.java
+++ b/bundles/org.eclipse.osgi.compatibility.state/src/org/eclipse/osgi/internal/resolver/StateWriter.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2003, 2013 IBM Corporation and others.
+ * Copyright (c) 2003, 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
@@ -546,7 +546,7 @@ class StateWriter {
out.writeByte(3);
writeGenericSpecification((GenericSpecificationImpl) requirement, out);
} else
- throw new IllegalArgumentException("Unknown requiement type: " + requirement.getClass());
+ throw new IllegalArgumentException("Unknown requiement type: " + requirement.getClass()); //$NON-NLS-1$
BaseDescription capability = wire.getDeclaredCapability();
if (capability instanceof BundleDescription)
@@ -556,7 +556,7 @@ class StateWriter {
else if (capability instanceof GenericDescription)
writeGenericDescription((GenericDescription) capability, out);
else
- throw new IllegalArgumentException("Unknown capability type: " + requirement.getClass());
+ throw new IllegalArgumentException("Unknown capability type: " + requirement.getClass()); //$NON-NLS-1$
writeBundleDescription(wire.getRequirementHost(), out, false);
writeBundleDescription(wire.getCapabilityHost(), out, false);

Back to the top