提交 2178a736 编写于 作者: P pengys5

fixed check style error

上级 a9ff88fe
......@@ -21,11 +21,7 @@ public abstract class Window {
}
public boolean trySwitchPointer() {
if (windowSwitch.incrementAndGet() == 1 && !getLast().isReading()) {
return true;
} else {
return false;
}
return windowSwitch.incrementAndGet() == 1 && !getLast().isReading();
}
public void trySwitchPointerFinally() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册