Code optimization
This commit is contained in:
@@ -30,16 +30,19 @@ public abstract class ReactorUtils {
|
||||
|
||||
public static final Object NULL = OBJ;
|
||||
|
||||
public static final Object Void = OBJ;
|
||||
|
||||
@Deprecated
|
||||
public static final Throwable EMPTY_THROWABLE = Utils.throwableWithoutStack(null);
|
||||
|
||||
private ReactorUtils() {
|
||||
}
|
||||
|
||||
public static Mono getInitiateMono() {
|
||||
public static Mono<?> getInitiateMono() {
|
||||
return Mono.just(OBJ);
|
||||
}
|
||||
|
||||
public static Flux getInitiateFlux() {
|
||||
public static Flux<?> getInitiateFlux() {
|
||||
return Flux.just(OBJ);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user