Polish: "@Override" should be used on overriding and implementing methods
This commit is contained in:
committed by
Juergen Hoeller
parent
a19d4deb24
commit
8080f56db8
@@ -272,6 +272,7 @@ public abstract class AbstractListenerReadPublisher<T> implements Publisher<T> {
|
||||
* send onComplete and onError until we after onSubscribe.
|
||||
*/
|
||||
SUBSCRIBING {
|
||||
@Override
|
||||
<T> void request(AbstractListenerReadPublisher<T> publisher, long n) {
|
||||
if (Operators.validate(n)) {
|
||||
Operators.addCap(DEMAND_FIELD_UPDATER, publisher, n);
|
||||
|
||||
@@ -262,6 +262,7 @@ public abstract class AbstractListenerWriteFlushProcessor<T> implements Processo
|
||||
},
|
||||
|
||||
FLUSHING {
|
||||
@Override
|
||||
public <T> void onFlushPossible(AbstractListenerWriteFlushProcessor<T> processor) {
|
||||
try {
|
||||
processor.flush();
|
||||
@@ -277,6 +278,7 @@ public abstract class AbstractListenerWriteFlushProcessor<T> implements Processo
|
||||
processor.state.get().onComplete(processor);
|
||||
}
|
||||
}
|
||||
@Override
|
||||
public <T> void onNext(AbstractListenerWriteFlushProcessor<T> proc, Publisher<? extends T> pub) {
|
||||
// ignore
|
||||
}
|
||||
|
||||
@@ -186,6 +186,7 @@ class RegexPathElement extends PathElement {
|
||||
return (this.regex.length - varsLength - this.variableNames.size());
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getCaptureCount() {
|
||||
return this.variableNames.size();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user