commit | 6ec787048a6fcf767c17118593af4f3a6b2616fb | [log] [tgz] |
---|---|---|
author | Robbie Gemmell <robbie@apache.org> | Fri Dec 08 12:20:37 2017 +0000 |
committer | Robbie Gemmell <robbie@apache.org> | Fri Dec 08 12:20:37 2017 +0000 |
tree | ca4d1bd6ae2c561ec69a78f24628c56c4c8d2631 | |
parent | 1e6c7a3c8a89e8d9d7c4e36eeee623a3b5f657fd [diff] |
PROTON-1708: fix some c&p errors with names
diff --git a/proton-j/src/main/java/org/apache/qpid/proton/codec/messaging/FastPathHeaderType.java b/proton-j/src/main/java/org/apache/qpid/proton/codec/messaging/FastPathHeaderType.java index 11c5223..189b360 100644 --- a/proton-j/src/main/java/org/apache/qpid/proton/codec/messaging/FastPathHeaderType.java +++ b/proton-j/src/main/java/org/apache/qpid/proton/codec/messaging/FastPathHeaderType.java
@@ -73,7 +73,7 @@ count = decoder.getByteBuffer().getInt(); break; default: - throw new DecodeException("Incorrect type found in Transfer encoding: " + typeCode); + throw new DecodeException("Incorrect type found in Header encoding: " + typeCode); } Header header = new Header();
diff --git a/proton-j/src/main/java/org/apache/qpid/proton/codec/messaging/FastPathPropertiesType.java b/proton-j/src/main/java/org/apache/qpid/proton/codec/messaging/FastPathPropertiesType.java index d689747..e3caca5 100644 --- a/proton-j/src/main/java/org/apache/qpid/proton/codec/messaging/FastPathPropertiesType.java +++ b/proton-j/src/main/java/org/apache/qpid/proton/codec/messaging/FastPathPropertiesType.java
@@ -73,7 +73,7 @@ count = decoder.getByteBuffer().getInt(); break; default: - throw new DecodeException("Incorrect type found in Transfer encoding: " + typeCode); + throw new DecodeException("Incorrect type found in Properties encoding: " + typeCode); } Properties properties = new Properties();