Skip to content

Commit 86f0b52

Browse files
authored
Make internal profile configuration methods in ExternalizedProperties private (#20)
1 parent e16919c commit 86f0b52

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/main/java/io/github/joeljeremy7/externalizedproperties/core/ExternalizedProperties.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,14 +345,14 @@ private RootProcessor buildRootProcessor(List<Processor> processors) {
345345
return new RootProcessor(processors);
346346
}
347347

348-
public Builder addProfileConfiguration(
348+
private Builder addProfileConfiguration(
349349
ProfileConfiguration profileConfiguration
350350
) {
351351
profileConfigurations.add(profileConfiguration);
352352
return this;
353353
}
354354

355-
public Builder applyProfileConfigurations(String activeProfile) {
355+
private Builder applyProfileConfigurations(String activeProfile) {
356356
profileConfigurations.forEach(c -> c.applyProfile(activeProfile));
357357
return this;
358358
}

0 commit comments

Comments
 (0)