qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rob...@apache.org
Subject qpid-proton-j git commit: PROTON-1708: fix some c&p errors with names
Date Fri, 08 Dec 2017 12:21:37 GMT
Repository: qpid-proton-j
Updated Branches:
  refs/heads/master 1e6c7a3c8 -> 6ec787048


PROTON-1708: fix some c&p errors with names


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton-j/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton-j/commit/6ec78704
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton-j/tree/6ec78704
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton-j/diff/6ec78704

Branch: refs/heads/master
Commit: 6ec787048a6fcf767c17118593af4f3a6b2616fb
Parents: 1e6c7a3
Author: Robbie Gemmell <robbie@apache.org>
Authored: Fri Dec 8 12:20:37 2017 +0000
Committer: Robbie Gemmell <robbie@apache.org>
Committed: Fri Dec 8 12:20:37 2017 +0000

----------------------------------------------------------------------
 .../org/apache/qpid/proton/codec/messaging/FastPathHeaderType.java | 2 +-
 .../apache/qpid/proton/codec/messaging/FastPathPropertiesType.java | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton-j/blob/6ec78704/proton-j/src/main/java/org/apache/qpid/proton/codec/messaging/FastPathHeaderType.java
----------------------------------------------------------------------
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 @@ public class FastPathHeaderType implements AMQPType<Header>, FastPathDescribedTy
                 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();

http://git-wip-us.apache.org/repos/asf/qpid-proton-j/blob/6ec78704/proton-j/src/main/java/org/apache/qpid/proton/codec/messaging/FastPathPropertiesType.java
----------------------------------------------------------------------
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 @@ public class FastPathPropertiesType implements AMQPType<Properties>,
FastPathDes
                 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();


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message