Skip to content

Commit

Permalink
Fix method order in IcebergRestCatalogConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
ebyhr committed Jun 28, 2024
1 parent 3ef1852 commit a0751aa
Showing 1 changed file with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,19 @@ public IcebergRestCatalogConfig setPrefix(String prefix)
return this;
}

public Optional<String> getWarehouse()
{
return warehouse;
}

@Config("iceberg.rest-catalog.warehouse")
@ConfigDescription("The warehouse location/identifier to use with the REST catalog server")
public IcebergRestCatalogConfig setWarehouse(String warehouse)
{
this.warehouse = Optional.ofNullable(warehouse);
return this;
}

@NotNull
public Security getSecurity()
{
Expand Down Expand Up @@ -98,19 +111,6 @@ public IcebergRestCatalogConfig setSessionType(SessionType sessionType)
return this;
}

public Optional<String> getWarehouse()
{
return warehouse;
}

@Config("iceberg.rest-catalog.warehouse")
@ConfigDescription("The warehouse location/identifier to use with the REST catalog server")
public IcebergRestCatalogConfig setWarehouse(String warehouse)
{
this.warehouse = Optional.ofNullable(warehouse);
return this;
}

public boolean isVendedCredentialsEnabled()
{
return vendedCredentialsEnabled;
Expand Down

0 comments on commit a0751aa

Please sign in to comment.