summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorMartin Ritchie <ritchiem@apache.org>2007-02-16 13:08:24 +0000
committerMartin Ritchie <ritchiem@apache.org>2007-02-16 13:08:24 +0000
commit7e2a27173e561d78f5abc57d2125474a84cfff8e (patch)
treedf4aec221daa2e45a1780d22147a9d279ed57d78 /java
parentcec6dc1af65db02febc2ba71cef2b3d1a681fefd (diff)
downloadqpid-python-7e2a27173e561d78f5abc57d2125474a84cfff8e.tar.gz
QPID-11 remove protocol literals from code.
Sorry Missed NoRouteException.java git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@508385 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java')
-rw-r--r--java/broker/src/main/java/org/apache/qpid/server/exchange/NoRouteException.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/broker/src/main/java/org/apache/qpid/server/exchange/NoRouteException.java b/java/broker/src/main/java/org/apache/qpid/server/exchange/NoRouteException.java
index ec82fa166e..c972b9d078 100644
--- a/java/broker/src/main/java/org/apache/qpid/server/exchange/NoRouteException.java
+++ b/java/broker/src/main/java/org/apache/qpid/server/exchange/NoRouteException.java
@@ -35,8 +35,8 @@ public class NoRouteException extends RequiredDeliveryException
super(msg, message);
}
- public int getReplyCode()
+ public AMQConstant getReplyCode()
{
- return AMQConstant.NO_ROUTE.getCode();
+ return AMQConstant.NO_ROUTE;
}
}