Skip to content

Commit

Permalink
Method name in TestConfigBuilder fixed (#6526)
Browse files Browse the repository at this point in the history
Signed-off-by: Hendrik Ebbers <hendrik.ebbers@web.de>
  • Loading branch information
hendrikebbers authored and kimbor committed May 10, 2023
1 parent ac31804 commit 6274351
Showing 1 changed file with 5 additions and 5 deletions.
Expand Up @@ -159,10 +159,10 @@ public TestConfigBuilder withValue(@NonNull final String propertyName, @NonNull
}

/**
* This method returns the {@link Configuration} instance. If the method is called for the first time the {@link
* Configuration} instance will be created. All values that have been set (see {@link #withValue(String, int)})
* methods will be part of the config. Next to this the config will support all config data record types (see {@link
* ConfigData}) that are on the classpath.
* This method returns the {@link Configuration} instance. If the method is called for the first time the
* {@link Configuration} instance will be created. All values that have been set (see
* {@link #withValue(String, int)}) methods will be part of the config. Next to this the config will support all
* config data record types (see {@link ConfigData}) that are on the classpath.
*
* @return the created configuration
*/
Expand Down Expand Up @@ -233,7 +233,7 @@ public TestConfigBuilder withValidator(@NonNull final ConfigValidator validator)
* @return the {@link TestConfigBuilder} instance (for fluent API)
*/
@NonNull
public <T extends Record> TestConfigBuilder withValidator(@NonNull final Class<T> type) {
public <T extends Record> TestConfigBuilder withConfigDataType(@NonNull final Class<T> type) {
checkConfigState();
builder.withConfigDataType(type);
return this;
Expand Down

0 comments on commit 6274351

Please sign in to comment.