[ https://issues.apache.org/jira/browse/PROTON-1105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15115095#comment-15115095 ]
ASF GitHub Bot commented on PROTON-1105: ---------------------------------------- Github user gemmellr commented on the pull request: https://github.com/apache/qpid-proton/pull/58#issuecomment-174484938 As it won't cause any harm I've pushed a change (essentially yours with the whitespace fixed) for this via PROTON-1105 to close out the PR, but as mentioned if you were seeing unpredictable behaviour around this then that probably points to some other issue. > enable EventImpl#getTransport() to succeed in more situations > ------------------------------------------------------------- > > Key: PROTON-1105 > URL: https://issues.apache.org/jira/browse/PROTON-1105 > Project: Qpid Proton > Issue Type: Bug > Components: proton-j > Affects Versions: 0.11.1 > Reporter: Robbie Gemmell > Assignee: Robbie Gemmell > Fix For: 0.12.0 > > > Raising JIRA to apply changes similar to those proposed in a PR: > https://github.com/apache/qpid-proton/pull/58 > EventImpl#getTransport() currently is only able to return a non-null value if > the Event context is a Transport or Connection, this change would also enable > it to succeed in other situations (if possible, i.e there is a Transport to > return). -- This message was sent by Atlassian JIRA (v6.3.4#6332)