This is an automated email from the ASF dual-hosted git repository.
pottlinger pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-tamaya-sandbox.git
The following commit(s) were added to refs/heads/master by this push:
new 8780bfb TAMAYA-277: Fix Sonar warning.
8780bfb is described below
commit 8780bfbccf3e393ab328fca4c357f6dba325cefb
Author: Hugo Hirsch <[email protected]>
AuthorDate: Sun May 12 01:06:49 2019 +0200
TAMAYA-277: Fix Sonar warning.
---
.../java/org/apache/tamaya/sysprops/ConfiguredSystemProperties.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/configured-sysprops/src/main/java/org/apache/tamaya/sysprops/ConfiguredSystemProperties.java
b/configured-sysprops/src/main/java/org/apache/tamaya/sysprops/ConfiguredSystemProperties.java
index 7a5cc70..cbac5f4 100644
---
a/configured-sysprops/src/main/java/org/apache/tamaya/sysprops/ConfiguredSystemProperties.java
+++
b/configured-sysprops/src/main/java/org/apache/tamaya/sysprops/ConfiguredSystemProperties.java
@@ -186,7 +186,7 @@ public class ConfiguredSystemProperties extends Properties {
}
@Override
- public void loadFromXML(InputStream in) throws IOException {
+ public synchronized void loadFromXML(InputStream in) throws IOException {
getContextualProperties().loadFromXML(in);
}