qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bo...@apache.org
Subject [1/2] qpid-proton git commit: NO-JIRA: Event.getTransport(): Missing accessor variant
Date Tue, 18 Aug 2015 12:26:20 GMT
Repository: qpid-proton
Updated Branches:
  refs/heads/master 35680ce54 -> 484bca48c


NO-JIRA: Event.getTransport(): Missing accessor variant


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

Branch: refs/heads/master
Commit: f7ea21d5dfe3f7f4f0e76379dd786aaf7ebb7fee
Parents: 35680ce
Author: Bozo Dragojevic <bozzo@digiverse.si>
Authored: Wed Jul 1 13:15:45 2015 +0200
Committer: Bozo Dragojevic <bozzo@digiverse.si>
Committed: Tue Aug 18 14:25:10 2015 +0200

----------------------------------------------------------------------
 .../main/java/org/apache/qpid/proton/engine/impl/EventImpl.java    | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/f7ea21d5/proton-j/src/main/java/org/apache/qpid/proton/engine/impl/EventImpl.java
----------------------------------------------------------------------
diff --git a/proton-j/src/main/java/org/apache/qpid/proton/engine/impl/EventImpl.java b/proton-j/src/main/java/org/apache/qpid/proton/engine/impl/EventImpl.java
index d516f6e..e4cee5f 100644
--- a/proton-j/src/main/java/org/apache/qpid/proton/engine/impl/EventImpl.java
+++ b/proton-j/src/main/java/org/apache/qpid/proton/engine/impl/EventImpl.java
@@ -182,6 +182,8 @@ class EventImpl implements Event
     {
         if (context instanceof Transport) {
             return (Transport) context;
+        } else if (context instanceof Connection) {
+        	return ((Connection)context).getTransport();	
         } else {
             return null;
         }


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


Mime
View raw message