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 | 7709e6f12ec687188b420aceed3caa4d86201af4 (patch) | |
| tree | 68667ae5707d16807674eab24eb7d85d18b85a1f /qpid/java | |
| parent | 2458b87cb80643cbfe0539da74b53c607cd11e1b (diff) | |
| download | qpid-python-7709e6f12ec687188b420aceed3caa4d86201af4.tar.gz | |
This is related to QPID-1608
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@736447 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java')
| -rw-r--r-- | qpid/java/client/src/main/java/org/apache/qpid/jms/FailoverPolicy.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/java/client/src/main/java/org/apache/qpid/jms/FailoverPolicy.java b/qpid/java/client/src/main/java/org/apache/qpid/jms/FailoverPolicy.java index 8e3ccc3b02..4186706ade 100644 --- a/qpid/java/client/src/main/java/org/apache/qpid/jms/FailoverPolicy.java +++ b/qpid/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]; } |
