suppress CRLF_INJECTION_LOGS in TestBundleDiag 15/69315/1
authorMichael Vorburger <vorburger@redhat.com>
Fri, 9 Mar 2018 15:59:38 +0000 (16:59 +0100)
committerMichael Vorburger <vorburger@redhat.com>
Fri, 9 Mar 2018 16:00:35 +0000 (17:00 +0100)
https://find-sec-bugs.github.io/bugs.htm#CRLF_INJECTION_LOGS

Change-Id: I1969245de6d4e95e44787311fb61c0cc3adc7a15
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
bundles-test-lib/src/main/java/org/opendaylight/odlparent/bundlestest/lib/TestBundleDiag.java

index 0cb374df302f4d00cf0bc74cc5d9991aa9b52ffd..5ed330b03caf23a70058cf56047b544bd485b64b 100644 (file)
@@ -10,6 +10,7 @@ package org.opendaylight.odlparent.bundlestest.lib;
 import static java.util.concurrent.TimeUnit.MILLISECONDS;
 import static java.util.concurrent.TimeUnit.SECONDS;
 
+import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
 import java.util.concurrent.TimeUnit;
 import java.util.function.BiConsumer;
 import org.apache.karaf.bundle.core.BundleService;
@@ -27,6 +28,7 @@ import org.slf4j.LoggerFactory;
  *
  * @author Michael Vorburger.ch
  */
+@SuppressFBWarnings("CRLF_INJECTION_LOGS") // multi-line logs are internal, without input from untrusted external source
 public class TestBundleDiag {
 
     private static final Logger LOG = LoggerFactory.getLogger(TestBundleDiag.class);