diff options
author | 2019-03-14 14:27:30 +0000 | |
---|---|---|
committer | 2019-03-14 14:27:30 +0000 | |
commit | ad4a3a514bd943df22a2e27d78f0706d412ebe9f (patch) | |
tree | e13648b6efbb335bf8e4f5f7a853615f8626d30e /datafile-commons/src/main/java | |
parent | a89e09eecabd035f1c227b1ae3f5fa59eff36be4 (diff) |
Thread safety issues
The TrustManager is now loaded and initialized once
in a thread safe way (instead of each time it is used).
Removed some unneeded wrappers.
Using AutoCloseable for FTP clients to make
sure they are closed in case of exceptions.
Made AppConfig thread safe.
Change-Id: Ia6a2c8a76bf960013180fdd7c53ae0ff17b26505
Issue-ID: DCAEGEN2-1118
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
Diffstat (limited to 'datafile-commons/src/main/java')
-rw-r--r-- | datafile-commons/src/main/java/org/onap/dcaegen2/collectors/datafile/exceptions/DatafileTaskException.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/datafile-commons/src/main/java/org/onap/dcaegen2/collectors/datafile/exceptions/DatafileTaskException.java b/datafile-commons/src/main/java/org/onap/dcaegen2/collectors/datafile/exceptions/DatafileTaskException.java index 442b766b..0eaa7a17 100644 --- a/datafile-commons/src/main/java/org/onap/dcaegen2/collectors/datafile/exceptions/DatafileTaskException.java +++ b/datafile-commons/src/main/java/org/onap/dcaegen2/collectors/datafile/exceptions/DatafileTaskException.java @@ -25,10 +25,6 @@ public class DatafileTaskException extends Exception { private static final long serialVersionUID = 1L; - public DatafileTaskException(Exception e) { - super(e); - } - public DatafileTaskException(String message) { super(message); } |