From 5622d33ddb975fa23e915a09f4d28def191b597d Mon Sep 17 00:00:00 2001 From: Pamela Dragosh Date: Fri, 15 Sep 2017 18:27:29 -0400 Subject: Fix sonar blocker/critical Also add back .gitignore Sonar blocker for change condition always true. Easier to re-write this using try-with-resources. Use synchronized static method to set a static variable. Don't use e.printStackTrace it causes sonar critical to log exception Log the bytes read. Ideally I would re-write this using Java 8 NIO Issue-ID: POLICY-195 Change-Id: I080d1ad4c8bea91f87c3eca109325700e1589558 Signed-off-by: Pamela Dragosh --- .gitignore | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .gitignore (limited to '.gitignore') diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..30e60521 --- /dev/null +++ b/.gitignore @@ -0,0 +1,15 @@ +.DS_Store +.project +.settings +.classpath +.jupiter +.pydevproject +*.swp +*.log +*.out +.metadata/ +target/ +*/logs/ +*/sql/ +*/testingLogs/ +*/config/ -- cgit 1.2.3-korg