sonar
This commit is contained in:
@@ -393,7 +393,7 @@ public abstract class WebSocketNode implements Service {
|
|||||||
}
|
}
|
||||||
return future == null ? CompletableFuture.completedFuture(false) : future;
|
return future == null ? CompletableFuture.completedFuture(false) : future;
|
||||||
});
|
});
|
||||||
return localFuture == null ? remoteFuture : localFuture.thenCombine(remoteFuture, (a, b) -> a | b);
|
return localFuture == null ? remoteFuture : localFuture.thenCombine(remoteFuture, (a, b) -> a || b);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -105,12 +105,6 @@ public final class Flipper extends RowBound {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
@SuppressWarnings("CloneDoesntCallSuperClone")
|
|
||||||
public Flipper clone() {
|
|
||||||
return this.copyTo(new Flipper());
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "{\"limit\":" + this.limit + ",\"offset\":" + this.offset
|
return "{\"limit\":" + this.limit + ",\"offset\":" + this.offset
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ import org.redkale.convert.ConvertColumn;
|
|||||||
* @author zhangjx
|
* @author zhangjx
|
||||||
* @since 2.8.0
|
* @since 2.8.0
|
||||||
*/
|
*/
|
||||||
public class RowBound implements Serializable, Cloneable {
|
public class RowBound implements Serializable {
|
||||||
|
|
||||||
private static int DEFAULT_LIMIT = 20;
|
private static int DEFAULT_LIMIT = 20;
|
||||||
|
|
||||||
@@ -81,12 +81,6 @@ public class RowBound implements Serializable, Cloneable {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
@SuppressWarnings("CloneDoesntCallSuperClone")
|
|
||||||
public RowBound clone() {
|
|
||||||
return this.copyTo(new RowBound());
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "{\"limit\":" + this.limit + ",\"offset\":" + this.offset + "}";
|
return "{\"limit\":" + this.limit + ",\"offset\":" + this.offset + "}";
|
||||||
|
|||||||
Reference in New Issue
Block a user