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: return the type object directly for unregistered described types
Date Wed, 06 Dec 2017 18:01:13 GMT
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 <robbie@apache.org>
Authored: Wed Dec 6 18:00:04 2017 +0000
Committer: Robbie Gemmell <robbie@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


Mime
View raw message