freemarker-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ddek...@apache.org
Subject [09/50] incubator-freemarker git commit: (A missing SuppressFBWarnings annotation.)
Date Sun, 12 Jun 2016 16:53:50 GMT
(A missing SuppressFBWarnings annotation.)


Project: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/commit/53bae299
Tree: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/tree/53bae299
Diff: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/diff/53bae299

Branch: refs/heads/2.3
Commit: 53bae299980f1b772944d9ff578d8c2916326af3
Parents: 4a40809
Author: ddekany <ddekany@apache.org>
Authored: Fri May 27 19:28:10 2016 +0200
Committer: ddekany <ddekany@apache.org>
Committed: Fri May 27 19:28:10 2016 +0200

----------------------------------------------------------------------
 src/test/java/freemarker/ext/jsp/RealServletContainertTest.java | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/53bae299/src/test/java/freemarker/ext/jsp/RealServletContainertTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/freemarker/ext/jsp/RealServletContainertTest.java b/src/test/java/freemarker/ext/jsp/RealServletContainertTest.java
index 1038c2e..f3ef4cf 100644
--- a/src/test/java/freemarker/ext/jsp/RealServletContainertTest.java
+++ b/src/test/java/freemarker/ext/jsp/RealServletContainertTest.java
@@ -44,6 +44,7 @@ import org.junit.Test;
 import com.google.common.collect.ImmutableList;
 import com.google.common.collect.ImmutableSet;
 
+import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
 import freemarker.cache.ClassTemplateLoader;
 import freemarker.cache.TemplateLoader;
 import freemarker.cache.WebappTemplateLoader;
@@ -62,6 +63,7 @@ import freemarker.test.servlet.WebAppTestCase;
  * Tests {@link FreemarkerServlet} on a real (embedded) Servlet container.
  */
 @SuppressWarnings("boxing")
+@SuppressFBWarnings(value="ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD", justification="Hack
needed for testing only")
 public class RealServletContainertTest extends WebAppTestCase {
 
     private static final String WEBAPP_BASIC = "basic";


Mime
View raw message