summaryrefslogtreecommitdiff
path: root/java/common/src
diff options
context:
space:
mode:
Diffstat (limited to 'java/common/src')
-rw-r--r--java/common/src/main/java/org/apache/qpid/framing/AMQType.java22
1 files changed, 0 insertions, 22 deletions
diff --git a/java/common/src/main/java/org/apache/qpid/framing/AMQType.java b/java/common/src/main/java/org/apache/qpid/framing/AMQType.java
index 5c89af09c4..4a6cfe6077 100644
--- a/java/common/src/main/java/org/apache/qpid/framing/AMQType.java
+++ b/java/common/src/main/java/org/apache/qpid/framing/AMQType.java
@@ -596,22 +596,6 @@ public enum AMQType
return EncodingUtils.encodedLongLength();
}
- public int getEncodingSize(long value)
- {
- return EncodingUtils.encodedLongLength();
- }
-
- public AMQTypedValue asTypedValue(long value)
- {
- return AMQTypedValue.createAMQTypedValue(value);
- }
-
- public void writeToBuffer(long value, DataOutput buffer) throws IOException
- {
- buffer.writeByte(identifier());
- EncodingUtils.writeLong(buffer, value);
- }
-
public Object toNativeValue(Object value)
{
if (value instanceof Long)
@@ -646,12 +630,6 @@ public enum AMQType
EncodingUtils.writeLong(buffer, (Long) value);
}
- public long readLongFromBuffer(DataInput buffer) throws IOException
- {
- return EncodingUtils.readLong(buffer);
- }
-
-
public Object readValueFromBuffer(DataInput buffer) throws IOException
{
return EncodingUtils.readLong(buffer);