From b6bc901589d6c740aa7d272db4ff4871876b6801 Mon Sep 17 00:00:00 2001 From: Giuseppe Baittiner Date: Thu, 14 Dec 2023 09:58:55 +0100 Subject: [PATCH] fix: props empty check --- .../sanita/fse2/ms/gtw/rulesmanager/service/impl/ConfigSRV.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/rulesmanager/service/impl/ConfigSRV.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/rulesmanager/service/impl/ConfigSRV.java index 9efe96c..46e9bae 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/rulesmanager/service/impl/ConfigSRV.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/rulesmanager/service/impl/ConfigSRV.java @@ -46,8 +46,8 @@ public void postConstruct() { log.info("[GTW-CFG] Property {} is set as {}", key, value); props.put(key, Pair.of(new Date().getTime(), value)); }); - if(opt.getItems().isEmpty()) log.info("[GTW-CFG] No props were found"); } + if(opts.isEmpty()) log.info("[GTW-CFG] No props were found"); } integrity(); }