Skip to content

Commit 6fdf992

Browse files
author
yazan-amer
committed
fix: #425
1 parent 313a564 commit 6fdf992

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/io/weaviate/client6/v1/api/Config.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public static Config of(Function<Custom, ObjectBuilder<Config>> fn) {
2323
return fn.apply(new Custom()).build();
2424
}
2525

26-
public Config(Builder<?> builder) {
26+
private Config(Builder<?> builder) {
2727
this(
2828
builder.scheme,
2929
builder.httpHost,
@@ -42,7 +42,7 @@ public GrpcChannelOptions grpcTransportOptions() {
4242
return new GrpcChannelOptions(scheme, grpcHost, grpcPort, headers, tokenProvider);
4343
}
4444

45-
public abstract static class Builder<SELF extends Builder<SELF>> implements ObjectBuilder<Config> {
45+
private abstract static class Builder<SELF extends Builder<SELF>> implements ObjectBuilder<Config> {
4646
protected String scheme;
4747

4848
protected String httpHost;

0 commit comments

Comments
 (0)