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