Skip to content

Commit

Permalink
method renamed
Browse files Browse the repository at this point in the history
Signed-off-by: Hendrik Ebbers <hendrik.ebbers@web.de>
  • Loading branch information
hendrikebbers committed May 10, 2023
1 parent 725e350 commit 489a89a
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
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 489a89a

Please sign in to comment.