[Minor] GenericReport: Field 'counter' is accessed in both synchronized and unsynchronized contexts
This commit is contained in:
parent
17dd0e68d8
commit
d6ab8119a7
|
@ -229,7 +229,7 @@ public class GenericReport extends ReportPolicy {
|
|||
}
|
||||
|
||||
@Override
|
||||
public long getCounter() {
|
||||
public synchronized long getCounter() {
|
||||
return this.counter;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue