Skip to content

Commit e9d13ec

Browse files
committed
typo
1 parent 1d965bb commit e9d13ec

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

api/src/main/java/org/asynchttpclient/AsyncCompletionHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public State onHeadersWritten() {
9696
*
9797
* @return a {@link org.asynchttpclient.AsyncHandler.State} telling to CONTINUE or ABORT the current processing.
9898
*/
99-
public State onContentWriten() {
99+
public State onContentWritten() {
100100
return State.CONTINUE;
101101
}
102102

api/src/main/java/org/asynchttpclient/handler/ProgressAsyncHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public interface ProgressAsyncHandler<T> extends AsyncHandler<T> {
3535
*
3636
* @return a {@link AsyncHandler.State} telling to CONTINUE or ABORT the current processing.
3737
*/
38-
State onContentWriten();
38+
State onContentWritten();
3939

4040
/**
4141
* Invoked when the I/O operation associated with the {@link Request} body wasn't fully written in a single I/O write

api/src/main/java/org/asynchttpclient/simple/SimpleAsyncHttpClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -711,8 +711,8 @@ public AsyncHandler.State onHeadersWritten() {
711711
return delegate.onHeadersWritten();
712712
}
713713

714-
public AsyncHandler.State onContentWriten() {
715-
return delegate.onContentWriten();
714+
public AsyncHandler.State onContentWritten() {
715+
return delegate.onContentWritten();
716716
}
717717

718718
public AsyncHandler.State onContentWriteProgress(long amount, long current, long total) {

api/src/test/java/org/asynchttpclient/request/body/ZeroCopyFileTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public State onHeadersWritten() {
8181
return State.CONTINUE;
8282
}
8383

84-
public State onContentWriten() {
84+
public State onContentWritten() {
8585
operationCompleted.set(true);
8686
return State.CONTINUE;
8787
}

api/src/test/java/org/asynchttpclient/test/EventCollectingHandler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ public State onHeadersWritten() {
6464
}
6565

6666
@Override
67-
public State onContentWriten() {
67+
public State onContentWritten() {
6868
firedEvents.add("ContentWritten");
69-
return super.onContentWriten();
69+
return super.onContentWritten();
7070
}
7171

7272
@Override

providers/netty3/src/main/java/org/asynchttpclient/netty/request/ProgressListener.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public void operationComplete(ChannelFuture cf) {
7979
if (notifyHeaders) {
8080
ProgressAsyncHandler.class.cast(asyncHandler).onHeadersWritten();
8181
} else {
82-
ProgressAsyncHandler.class.cast(asyncHandler).onContentWriten();
82+
ProgressAsyncHandler.class.cast(asyncHandler).onContentWritten();
8383
}
8484
}
8585
}

providers/netty4/src/main/java/org/asynchttpclient/netty/request/ProgressListener.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public void operationComplete(ChannelProgressiveFuture cf) {
9090
if (notifyHeaders) {
9191
progressAsyncHandler.onHeadersWritten();
9292
} else {
93-
progressAsyncHandler.onContentWriten();
93+
progressAsyncHandler.onContentWritten();
9494
}
9595
}
9696
}

0 commit comments

Comments
 (0)