diff --git a/core/src/main/java/io/github/joeljeremy7/externalizedproperties/core/ExternalizedProperties.java b/core/src/main/java/io/github/joeljeremy7/externalizedproperties/core/ExternalizedProperties.java index 948ebce1..64a56093 100644 --- a/core/src/main/java/io/github/joeljeremy7/externalizedproperties/core/ExternalizedProperties.java +++ b/core/src/main/java/io/github/joeljeremy7/externalizedproperties/core/ExternalizedProperties.java @@ -345,14 +345,14 @@ private RootProcessor buildRootProcessor(List processors) { return new RootProcessor(processors); } - public Builder addProfileConfiguration( + private Builder addProfileConfiguration( ProfileConfiguration profileConfiguration ) { profileConfigurations.add(profileConfiguration); return this; } - public Builder applyProfileConfigurations(String activeProfile) { + private Builder applyProfileConfigurations(String activeProfile) { profileConfigurations.forEach(c -> c.applyProfile(activeProfile)); return this; }