diff options
author | Martin Ritchie <ritchiem@apache.org> | 2007-01-09 10:09:31 +0000 |
---|---|---|
committer | Martin Ritchie <ritchiem@apache.org> | 2007-01-09 10:09:31 +0000 |
commit | 45edbcd8dbed83c50d0ba8d2c732f42091f38beb (patch) | |
tree | 800e0b49b9082d16eea08febf56fba2b043ee5eb | |
parent | 2f297ac87909ed98c9d7dbb6dc725c294799d32f (diff) | |
download | qpid-python-45edbcd8dbed83c50d0ba8d2c732f42091f38beb.tar.gz |
QPID-266
changed contains to containsKey
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@494355 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | qpid/java/client/src/main/java/org/apache/qpid/jndi/PropertiesFileInitialContextFactory.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/java/client/src/main/java/org/apache/qpid/jndi/PropertiesFileInitialContextFactory.java b/qpid/java/client/src/main/java/org/apache/qpid/jndi/PropertiesFileInitialContextFactory.java index b724bbfc05..32a25bd915 100644 --- a/qpid/java/client/src/main/java/org/apache/qpid/jndi/PropertiesFileInitialContextFactory.java +++ b/qpid/java/client/src/main/java/org/apache/qpid/jndi/PropertiesFileInitialContextFactory.java @@ -64,7 +64,7 @@ public class PropertiesFileInitialContextFactory implements InitialContextFactor { String file = null; - if (environment.contains(Context.PROVIDER_URL)) + if (environment.containsKey(Context.PROVIDER_URL)) { file = (String) environment.get(Context.PROVIDER_URL); } |