Polishing

Closes gh-31522
This commit is contained in:
Johnny Lim
2023-10-30 22:04:29 +09:00
committed by Sam Brannen
parent 8a2acbeac1
commit 2b750926c3
20 changed files with 32 additions and 30 deletions

View File

@@ -54,7 +54,7 @@ final class OutputStreamPublisher implements Publisher<DataBuffer> {
private final int chunkSize;
public OutputStreamPublisher(Consumer<OutputStream> outputStreamConsumer, DataBufferFactory bufferFactory,
OutputStreamPublisher(Consumer<OutputStream> outputStreamConsumer, DataBufferFactory bufferFactory,
Executor executor, int chunkSize) {
this.outputStreamConsumer = outputStreamConsumer;
@@ -99,7 +99,7 @@ final class OutputStreamPublisher implements Publisher<DataBuffer> {
private long produced;
public OutputStreamSubscription(Subscriber<? super DataBuffer> actual,
OutputStreamSubscription(Subscriber<? super DataBuffer> actual,
Consumer<OutputStream> outputStreamConsumer, DataBufferFactory bufferFactory, int chunkSize) {
this.actual = actual;

View File

@@ -22,7 +22,7 @@ import io.micrometer.context.ContextSnapshotFactory;
import org.springframework.core.task.TaskDecorator;
/**
* {@link TaskDecorator} that {@link ContextSnapshot#wrap(Runnable) wrap the execution} of
* {@link TaskDecorator} that {@link ContextSnapshot#wrap(Runnable) wraps the execution} of
* tasks, assisting with context propagation.
* <p>This operation is only useful when the task execution is scheduled on a different
* thread than the original call stack; this depends on the choice of

View File

@@ -49,7 +49,7 @@ public class SingletonSupplier<T> implements Supplier<T> {
private volatile T singletonInstance;
/**
* Guards access to write operations on the response.
* Guards access to write operations on the {@code singletonInstance} field.
*/
private final Lock writeLock = new ReentrantLock();