diff options
author | Rajith Muditha Attapattu <rajith@apache.org> | 2009-01-21 22:20:23 +0000 |
---|---|---|
committer | Rajith Muditha Attapattu <rajith@apache.org> | 2009-01-21 22:20:23 +0000 |
commit | ac65e474c98e8ab4737dcae7a71d1599d46738a0 (patch) | |
tree | e529c2313c6e08a3ca9c3affad5c76dbde52b5ac | |
parent | 35c504c10c6f5ae94216a4173c035720acec297e (diff) | |
download | qpid-python-ac65e474c98e8ab4737dcae7a71d1599d46738a0.tar.gz |
This is related to QPID-1608
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@736447 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | java/client/src/main/java/org/apache/qpid/jms/FailoverPolicy.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/client/src/main/java/org/apache/qpid/jms/FailoverPolicy.java b/java/client/src/main/java/org/apache/qpid/jms/FailoverPolicy.java index 8e3ccc3b02..4186706ade 100644 --- a/java/client/src/main/java/org/apache/qpid/jms/FailoverPolicy.java +++ b/java/client/src/main/java/org/apache/qpid/jms/FailoverPolicy.java @@ -272,7 +272,7 @@ public class FailoverPolicy public FailoverMethod getCurrentMethod() { - if ((_currentMethod >= 0) && (_currentMethod < (_methods.length - 1))) + if ((_currentMethod >= 0) && (_currentMethod < (_methods.length))) { return _methods[_currentMethod]; } |