Skip to content

Commit

Permalink
[java] Abstract class does not need a public constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
barancev committed Nov 10, 2020
1 parent d97844c commit a2b9d24
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public boolean hasRequestTimedOut(HttpRequest request) {
return duration.compareTo(requestTimeout) > 0;
}

public NewSessionQueue(Tracer tracer, Duration retryInterval, Duration requestTimeout) {
protected NewSessionQueue(Tracer tracer, Duration retryInterval, Duration requestTimeout) {
this.tracer = Require.nonNull("Tracer", tracer);
this.retryInterval = Require.nonNull("Session request retry interval", retryInterval);
this.requestTimeout = Require.nonNull("Session request timeout", requestTimeout);
Expand Down

0 comments on commit a2b9d24

Please sign in to comment.