Updating format in DetectConfiguration to make a PR easier to read
@@ -282,12 +282,10 @@ public class DetectConfiguration {
dockerInspectorVersion = dockerBomTool.getInspectorVersion();
}
-
-
configureForPhoneHome();
}
- public void addFieldWarning(final String key, final String warning) {
+ private void addFieldWarning(final String key, final String warning) {
detectOptions.stream().forEach(option -> {
if (option.getKey().equals(key) ) {
option.getWarnings().add(warning);
@@ -295,7 +293,7 @@ public class DetectConfiguration {
});
}
- public void requestDeprecation(final String key) {
+ private void requestDeprecation(final String key) {
detectOptions.stream().forEach(option -> {
if (option.getKey().equals(key) ) {
option.requestDeprecation();
