8000 Fix javadoc · chakra-coder/async-http-client@98c1428 · GitHub
[go: up one dir, main page]

Skip to content

Commit 98c1428

Browse files
committed
Fix javadoc
1 parent 4dbf11c commit 98c1428

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

client/src/main/java/org/asynchttpclient/ClientStats.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public ClientStats(Map<String, HostStats> statsPerHost) {
3030

3131
/**
3232
* @return A map from hostname to statistics on that host's connections.
33-
* The returned map is an {@link java.util.Collections.UnmodifiableMap}.
33+
* The returned map is unmodifiable.
3434
*/
3535
public Map<String, HostStats> getStatsPerHost() {
3636
return statsPerHost;

client/src/main/java/org/asynchttpclient/ws/WebSocketWriteCompleteListener.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,17 +67,20 @@ static WriteCompleteResult failed(Throwable t)
6767
}
6868

6969
/**
70-
* @return the exception in case the write operation failed, @{@code null} otherwise.
70+
* Return the exception in case the write operation failed, @{@code null} otherwise.
71+
* @return the exception
7172
*/
7273
Throwable getFailure();
7374

7475
/**
75-
* @return @{@code true} if the operation succeeded, {@code false} otherwise.
76+
* Return @{@code true} if the operation succeeded, {@code false} otherwise.
77+
* @return true if success.
7678
*/
7779
boolean isSuccess();
7880

7981
/**
80-
* @return @{@code true} if the operation failed, {@code false} otherwise.
82+
* Return @{@code true} if the operation failed, {@code false} otherwise.
83+
* @return true if failed.
8184
*/
8285
boolean isFailed();
8386
}

0 commit comments

Comments
 (0)
0