Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Watson2008-05-09 10:10:45 -0400
committerThomas Watson2008-05-09 10:10:45 -0400
commita1a45001f0fb860fe1f2a914c30c83e7ef8b1261 (patch)
tree3692dcbcf21ed67580589ffbdc42f7cf7c48100c /bundles
parentadf1eb77cb913f68fadd7e58aa61bd97d17cc34d (diff)
downloadrt.equinox.framework-a1a45001f0fb860fe1f2a914c30c83e7ef8b1261.tar.gz
rt.equinox.framework-a1a45001f0fb860fe1f2a914c30c83e7ef8b1261.tar.xz
rt.equinox.framework-a1a45001f0fb860fe1f2a914c30c83e7ef8b1261.zip
Bug 231240 Compiler warnings in I20080508-2000
Diffstat (limited to 'bundles')
-rw-r--r--bundles/org.eclipse.osgi/security/src/org/eclipse/osgi/internal/service/security/DefaultAuthorizationEngine.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.osgi/security/src/org/eclipse/osgi/internal/service/security/DefaultAuthorizationEngine.java b/bundles/org.eclipse.osgi/security/src/org/eclipse/osgi/internal/service/security/DefaultAuthorizationEngine.java
index 06fa317ec..4257bf0a4 100644
--- a/bundles/org.eclipse.osgi/security/src/org/eclipse/osgi/internal/service/security/DefaultAuthorizationEngine.java
+++ b/bundles/org.eclipse.osgi/security/src/org/eclipse/osgi/internal/service/security/DefaultAuthorizationEngine.java
@@ -76,7 +76,7 @@ public class DefaultAuthorizationEngine extends AuthorizationEngine {
} catch (IllegalArgumentException e) {
// do nothing;
}
- if (versionProp == null || VERSION_MAX.compareTo(new Version(versionProp)) > 0) {
+ if (VERSION_MAX.compareTo(version) > 0) {
String policy = properties.getProperty(POLICY_PROP);
if (policy != null)
try {

Back to the top