From aba7651452b366655ed3a2d669b45fb2385de7f3 Mon Sep 17 00:00:00 2001 From: Pekka Helenius Date: Tue, 6 Oct 2020 15:21:15 +0300 Subject: [PATCH] Add categories.properties into property file list; update a comment Signed-off-by: Pekka Helenius --- .../fjordtek/bookstore/config/AdditionalPropertiesConfig.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bookstore/src/main/java/com/fjordtek/bookstore/config/AdditionalPropertiesConfig.java b/bookstore/src/main/java/com/fjordtek/bookstore/config/AdditionalPropertiesConfig.java index d6bc961..c7ede3d 100644 --- a/bookstore/src/main/java/com/fjordtek/bookstore/config/AdditionalPropertiesConfig.java +++ b/bookstore/src/main/java/com/fjordtek/bookstore/config/AdditionalPropertiesConfig.java @@ -36,9 +36,10 @@ public class AdditionalPropertiesConfig implements EnvironmentPostProcessor { private List getAdditionalResources() { List resources = new ArrayList(); - // Add your additional properties files here + // Add your additional (classpath, filesystem, etc.) properties files here resources.add(new ClassPathResource("website.properties")); resources.add(new ClassPathResource("authentication.properties")); + resources.add(new ClassPathResource("categories.properties")); return resources; }