From 7e0b5e18da3c5aa2100c9820cb4845168c87a780 Mon Sep 17 00:00:00 2001 From: Colin Redmond Date: Mon, 5 Aug 2024 19:23:59 -0700 Subject: [PATCH] fix: add override annotation. --- .../gestalt/config/node/factory/ClassPathConfigNodeFactory.java | 1 + .../gestalt/config/node/factory/ConfigNodeImportFactory.java | 1 + .../gestalt/config/node/factory/FileConfigNodeFactory.java | 1 + .../github/gestalt/config/node/factory/MapNodeImportFactory.java | 1 + 4 files changed, 4 insertions(+) diff --git a/gestalt-core/src/main/java/org/github/gestalt/config/node/factory/ClassPathConfigNodeFactory.java b/gestalt-core/src/main/java/org/github/gestalt/config/node/factory/ClassPathConfigNodeFactory.java index 076fc2fbb..f06ebc582 100644 --- a/gestalt-core/src/main/java/org/github/gestalt/config/node/factory/ClassPathConfigNodeFactory.java +++ b/gestalt-core/src/main/java/org/github/gestalt/config/node/factory/ClassPathConfigNodeFactory.java @@ -25,6 +25,7 @@ public class ClassPathConfigNodeFactory implements ConfigNodeFactory { private ConfigLoaderService configLoaderService; + @Override public void applyConfig(ConfigNodeFactoryConfig config) { this.configLoaderService = config.getConfigLoaderService(); } diff --git a/gestalt-core/src/main/java/org/github/gestalt/config/node/factory/ConfigNodeImportFactory.java b/gestalt-core/src/main/java/org/github/gestalt/config/node/factory/ConfigNodeImportFactory.java index 8eb05d8ed..76e64417d 100644 --- a/gestalt-core/src/main/java/org/github/gestalt/config/node/factory/ConfigNodeImportFactory.java +++ b/gestalt-core/src/main/java/org/github/gestalt/config/node/factory/ConfigNodeImportFactory.java @@ -24,6 +24,7 @@ public class ConfigNodeImportFactory implements ConfigNodeFactory { private ConfigNodeService configNodeService; private SentenceLexer lexer; + @Override public void applyConfig(ConfigNodeFactoryConfig config) { this.configNodeService = config.getConfigNodeService(); this.lexer = config.getLexer(); diff --git a/gestalt-core/src/main/java/org/github/gestalt/config/node/factory/FileConfigNodeFactory.java b/gestalt-core/src/main/java/org/github/gestalt/config/node/factory/FileConfigNodeFactory.java index 0e45ec45b..9e2f0918b 100644 --- a/gestalt-core/src/main/java/org/github/gestalt/config/node/factory/FileConfigNodeFactory.java +++ b/gestalt-core/src/main/java/org/github/gestalt/config/node/factory/FileConfigNodeFactory.java @@ -28,6 +28,7 @@ public class FileConfigNodeFactory implements ConfigNodeFactory { private ConfigLoaderService configLoaderService; + @Override public void applyConfig(ConfigNodeFactoryConfig config) { this.configLoaderService = config.getConfigLoaderService(); } diff --git a/gestalt-core/src/main/java/org/github/gestalt/config/node/factory/MapNodeImportFactory.java b/gestalt-core/src/main/java/org/github/gestalt/config/node/factory/MapNodeImportFactory.java index 0f6f9ce36..c81b7f4dd 100644 --- a/gestalt-core/src/main/java/org/github/gestalt/config/node/factory/MapNodeImportFactory.java +++ b/gestalt-core/src/main/java/org/github/gestalt/config/node/factory/MapNodeImportFactory.java @@ -36,6 +36,7 @@ public MapNodeImportFactory(String source, Map configMap) { this.configMap = configMap; } + @Override public void applyConfig(ConfigNodeFactoryConfig config) { this.configLoaderService = config.getConfigLoaderService(); }