You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When one part of a getter/setter pair is synchronized the other part should be too. Failure to synchronize both sides of a pair may result in inconsistent behavior at runtime as callers access an inconsistent method state.
This rule raises an issue when either the method or the contents of one method in a getter/setter pair are synchrnoized but the other is not.
The text was updated successfully, but these errors were encountered:
Code Path:server/src/main/java/org/apache/iotdb/db/engine/storagegroup/TsFileResource.java
![image](https://user-images.githubusercontent.com/55030443/168058828-07beb1db-7689-416d-a40d-7812cb1e3c6d.png)
When one part of a getter/setter pair is synchronized the other part should be too. Failure to synchronize both sides of a pair may result in inconsistent behavior at runtime as callers access an inconsistent method state.
This rule raises an issue when either the method or the contents of one method in a getter/setter pair are synchrnoized but the other is not.
The text was updated successfully, but these errors were encountered: