summaryrefslogtreecommitdiff
path: root/java/client
diff options
context:
space:
mode:
authorRajith Muditha Attapattu <rajith@apache.org>2012-12-10 19:52:14 +0000
committerRajith Muditha Attapattu <rajith@apache.org>2012-12-10 19:52:14 +0000
commit179e2f59565b9aa10ad0a52a1a8246814dc4a9f1 (patch)
tree813723744fed04c8814bc879e5f1b93c3c574153 /java/client
parentf03caab433f3e7a6b6cefcd846709af887aa9f48 (diff)
downloadqpid-python-179e2f59565b9aa10ad0a52a1a8246814dc4a9f1.tar.gz
QPID-4496 Fixed a typo in the error message and adjusted the if
condition to confirm to the Qpid coding style. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1419708 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/client')
-rw-r--r--java/client/src/main/java/org/apache/qpid/client/AMQSession_0_10.java10
1 files changed, 8 insertions, 2 deletions
diff --git a/java/client/src/main/java/org/apache/qpid/client/AMQSession_0_10.java b/java/client/src/main/java/org/apache/qpid/client/AMQSession_0_10.java
index 76a18b70d9..9a7f5241a5 100644
--- a/java/client/src/main/java/org/apache/qpid/client/AMQSession_0_10.java
+++ b/java/client/src/main/java/org/apache/qpid/client/AMQSession_0_10.java
@@ -1121,7 +1121,10 @@ public class AMQSession_0_10 extends AMQSession<BasicMessageConsumer_0_10, Basic
if (assertNode)
{
- if (!match) throw new AMQException("Aessert failed for address : " + dest +", Result was : " + result);
+ if (!match)
+ {
+ throw new AMQException("Assert failed for address : " + dest +", Result was : " + result);
+ }
}
return match;
@@ -1146,7 +1149,10 @@ public class AMQSession_0_10 extends AMQSession<BasicMessageConsumer_0_10, Basic
if (assertNode)
{
- if (!match) throw new AMQException("Aessert failed for address : " + dest +", Result was : " + result);
+ if (!match)
+ {
+ throw new AMQException("Assert failed for address : " + dest +", Result was : " + result);
+ }
}
}
catch(SessionException e)