Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Remove code smell and bug"
[nonrtric.git]
/
policy-agent
/
src
/
main
/
java
/
org
/
oransc
/
policyagent
/
repository
/
Lock.java
diff --git
a/policy-agent/src/main/java/org/oransc/policyagent/repository/Lock.java
b/policy-agent/src/main/java/org/oransc/policyagent/repository/Lock.java
index
ff3f331
..
70d00cb
100644
(file)
--- a/
policy-agent/src/main/java/org/oransc/policyagent/repository/Lock.java
+++ b/
policy-agent/src/main/java/org/oransc/policyagent/repository/Lock.java
@@
-168,7
+168,7
@@
public class Lock {
lockRequestQueue.add(new LockRequest(callback, lockType, this));
}
lockRequestQueue.add(new LockRequest(callback, lockType, this));
}
- @SuppressWarnings("java:S2274")
+ @SuppressWarnings("java:S2274")
// Always invoke wait() and await() methods inside a loop
private synchronized void waitForUnlock() {
try {
this.wait();
private synchronized void waitForUnlock() {
try {
this.wait();