mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-04 00:02:37 +01:00
CID-1116231: Use implicit lock, synchronize _key in Link
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
032bce5b54
commit
ec134cf010
@ -92,7 +92,9 @@ public class Link {
|
||||
}
|
||||
|
||||
public void setKey(SelectionKey key) {
|
||||
_key = key;
|
||||
synchronized (this) {
|
||||
_key = key;
|
||||
}
|
||||
}
|
||||
|
||||
public void setSSLEngine(SSLEngine sslEngine) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user