On Fri, 12 Nov 2021 10:54:20 GMT, Daniel Fuchs <dfu...@openjdk.org> wrote:
> > P.S: Slightly unrelated question - is it intentional that the `Builder` > > interface specifies the visibility modifiers on the interface methods. For > > example: `public abstract Builder timeout(Duration duration);`, `public > > Builder headers(String... headers);` and so on? > > Stylistic preference of the author - I guess (could be me). If this were a > new class I would advise to remove the redundant qualifiers. Understood. I have the habit of using the `public` too sometimes. It was the presence of `abstract` in one of the methods which made me a bit curious. ------------- PR: https://git.openjdk.java.net/jdk/pull/6348