Skip to content

Commit a1d06f7

Browse files
committed
Make RemotelyClosedException constructor private
1 parent a746f54 commit a1d06f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/main/java/org/asynchttpclient/exception/RemotelyClosedException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public final class RemotelyClosedException extends IOException {
2121

2222
public static final RemotelyClosedException INSTANCE = unknownStackTrace(new RemotelyClosedException(), RemotelyClosedException.class, "INSTANCE");
2323

24-
RemotelyClosedException() {
24+
private RemotelyClosedException() {
2525
super("Remotely closed");
2626
}
2727
}

0 commit comments

Comments
 (0)