You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ro...@apache.org on 2017/12/06 18:01:13 UTC

qpid-proton-j git commit: PROTON-1708: return the type object directly for unregistered described types

Repository: qpid-proton-j
Updated Branches:
  refs/heads/master 5ddb6be24 -> aeb164ba7


PROTON-1708: return the type object directly for unregistered described types


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/aeb164ba
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton-j/tree/aeb164ba
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton-j/diff/aeb164ba

Branch: refs/heads/master
Commit: aeb164ba7e0c08fdc47dcf681ef496b68c5d8312
Parents: 5ddb6be
Author: Robbie Gemmell <ro...@apache.org>
Authored: Wed Dec 6 18:00:04 2017 +0000
Committer: Robbie Gemmell <ro...@apache.org>
Committed: Wed Dec 6 18:00:04 2017 +0000

----------------------------------------------------------------------
 .../src/main/java/org/apache/qpid/proton/codec/EncoderImpl.java    | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton-j/blob/aeb164ba/proton-j/src/main/java/org/apache/qpid/proton/codec/EncoderImpl.java
----------------------------------------------------------------------
diff --git a/proton-j/src/main/java/org/apache/qpid/proton/codec/EncoderImpl.java b/proton-j/src/main/java/org/apache/qpid/proton/codec/EncoderImpl.java
index 7bef1ae..d709a77 100644
--- a/proton-j/src/main/java/org/apache/qpid/proton/codec/EncoderImpl.java
+++ b/proton-j/src/main/java/org/apache/qpid/proton/codec/EncoderImpl.java
@@ -196,6 +196,8 @@ public final class EncoderImpl implements ByteBufferEncoder
                             _describedDescriptorRegistry.put(descriptor, amqpType);
                         }
                     }
+
+                    return amqpType;
                 }
             }
             _typeRegistry.put(clazz, amqpType);


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