From af4e554536eff26e819426c58c600f052c8da26b Mon Sep 17 00:00:00 2001 From: Kim van der Riet Date: Fri, 5 Jan 2007 15:34:24 +0000 Subject: 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 --- .../src/main/java/org/apache/qpid/framing/AMQMethodBodyFactory.java | 2 +- .../java/org/apache/qpid/framing/ContentHeaderPropertiesFactory.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'java/common') 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(); } -- cgit v1.2.1