summaryrefslogtreecommitdiff
path: root/java/common
diff options
context:
space:
mode:
authorKim van der Riet <kpvdr@apache.org>2007-01-05 15:34:24 +0000
committerKim van der Riet <kpvdr@apache.org>2007-01-05 15:34:24 +0000
commitaf4e554536eff26e819426c58c600f052c8da26b (patch)
tree09d2e5878f7cdb06dbd540faf0e1ec97767a15a0 /java/common
parentd092c3aa598bcd3a9d2bd9e1a7842099b7889c98 (diff)
downloadqpid-python-af4e554536eff26e819426c58c600f052c8da26b.tar.gz
Updated hardwired version occurrences in java from major=8 minor=0 to major=0 minor=9
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@493049 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/common')
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/AMQMethodBodyFactory.java2
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/ContentHeaderPropertiesFactory.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/java/common/src/main/java/org/apache/qpid/framing/AMQMethodBodyFactory.java b/java/common/src/main/java/org/apache/qpid/framing/AMQMethodBodyFactory.java
index da0909d32f..8c17befa36 100644
--- a/java/common/src/main/java/org/apache/qpid/framing/AMQMethodBodyFactory.java
+++ b/java/common/src/main/java/org/apache/qpid/framing/AMQMethodBodyFactory.java
@@ -46,6 +46,6 @@ public class AMQMethodBodyFactory implements BodyFactory
// if generated together with amqp.xml is a part of MainRegistry.
// TODO: Connect with version acquired from ProtocolInitiation class.
return MainRegistry.get((short)in.getUnsignedShort(), (short)in.getUnsignedShort(),
- (byte)8, (byte)0);
+ (byte)0, (byte)9);
}
}
diff --git a/java/common/src/main/java/org/apache/qpid/framing/ContentHeaderPropertiesFactory.java b/java/common/src/main/java/org/apache/qpid/framing/ContentHeaderPropertiesFactory.java
index cfcc5db857..e81adc791d 100644
--- a/java/common/src/main/java/org/apache/qpid/framing/ContentHeaderPropertiesFactory.java
+++ b/java/common/src/main/java/org/apache/qpid/framing/ContentHeaderPropertiesFactory.java
@@ -40,10 +40,10 @@ public class ContentHeaderPropertiesFactory
throws AMQFrameDecodingException, AMQProtocolVersionException
{
ContentHeaderProperties properties;
- // AMQP version change: "Hardwired" version to major=8, minor=0
+ // AMQP version change: "Hardwired" version to major=0, minor=9
// TODO: Change so that the actual version is obtained from
// the ProtocolInitiation object for this session.
- if (classId == BasicConsumeBody.getClazz((byte)8, (byte)0))
+ if (classId == BasicConsumeBody.getClazz((byte)0, (byte)9))
{
properties = new BasicContentHeaderProperties();
}