Do not synchronize notifyTerminationReasonAndCloseWithoutMessage() 72/83272/1
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 26 Jul 2019 09:03:52 +0000 (11:03 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Fri, 26 Jul 2019 09:03:52 +0000 (11:03 +0200)
commite4b3c903a01f0549596b091ab4a3d28366edc60e
treee69306300a66d30661c1598a80f397d1f1cb6777
parent543ba0fe15ba848be5203a7da095b652b7cd7a21
Do not synchronize notifyTerminationReasonAndCloseWithoutMessage()

Both callers are already holding the lock, hence the method should
not be synchronized itself. Remove synchronized and annotate with
@Holding.

Change-Id: I715054ba81a70d33e50a58c37ea61e8a9c7b71e2
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
bgp/rib-impl/src/main/java/org/opendaylight/protocol/bgp/rib/impl/BGPSessionImpl.java