mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Fix typo
This commit is contained in:
+1
-2
@@ -320,8 +320,7 @@ public abstract class AbstractListenerReadPublisher<T> implements Publisher<T> {
|
||||
<T> void onDataAvailable(AbstractListenerReadPublisher<T> publisher) {
|
||||
if (publisher.changeState(this, READING)) {
|
||||
try {
|
||||
boolean demandAvailable = publisher.
|
||||
readAndPublish();
|
||||
boolean demandAvailable = publisher.readAndPublish();
|
||||
if (demandAvailable) {
|
||||
publisher.changeToDemandState(READING);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user