Suppress RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE
[mdsal.git] / binding / mdsal-binding-generator-impl / src / main / java / org / opendaylight / mdsal / binding / generator / util / DefaultSourceCodeGenerator.java
index 5c8781e5e80e3d579b7165b99d74519bca85f890..d3c3a7f4e577b8d918036e8ce3c1e36c59ede947 100644 (file)
@@ -9,6 +9,7 @@
 package org.opendaylight.mdsal.binding.generator.util;
 
 import com.google.common.io.Files;
+import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
 import java.io.BufferedWriter;
 import java.io.File;
 import java.io.IOException;
@@ -95,6 +96,7 @@ public class DefaultSourceCodeGenerator implements SourceCodeGenerator {
     }
 
     @Override
+    @SuppressFBWarnings("RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE")
     public void outputGeneratedSource(final CtClass ctClass) {
         String name = ctClass.getName();