summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Ritchie <ritchiem@apache.org>2007-01-09 10:09:31 +0000
committerMartin Ritchie <ritchiem@apache.org>2007-01-09 10:09:31 +0000
commit45edbcd8dbed83c50d0ba8d2c732f42091f38beb (patch)
tree800e0b49b9082d16eea08febf56fba2b043ee5eb
parent2f297ac87909ed98c9d7dbb6dc725c294799d32f (diff)
downloadqpid-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.java2
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);
}