This is an automated email from the ASF dual-hosted git repository.

exceptionfactory pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git


The following commit(s) were added to refs/heads/main by this push:
     new a1597ce  NIFI-8460 Remove unused BouncyCastle reference in test class
a1597ce is described below

commit a1597ced890a5a1570ad7a7f9dcaac0d62dbbd9a
Author: Paul Grey <[email protected]>
AuthorDate: Thu Apr 22 11:33:29 2021 -0400

    NIFI-8460 Remove unused BouncyCastle reference in test class
    
    This closes #5022
    
    Signed-off-by: David Handermann <[email protected]>
---
 .../test/groovy/org/apache/nifi/web/filter/CatchAllFilterTest.groovy  | 4 ----
 1 file changed, 4 deletions(-)

diff --git 
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-error/src/test/groovy/org/apache/nifi/web/filter/CatchAllFilterTest.groovy
 
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-error/src/test/groovy/org/apache/nifi/web/filter/CatchAllFilterTest.groovy
index 2d9f4e3..9136fd5 100644
--- 
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-error/src/test/groovy/org/apache/nifi/web/filter/CatchAllFilterTest.groovy
+++ 
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-error/src/test/groovy/org/apache/nifi/web/filter/CatchAllFilterTest.groovy
@@ -17,7 +17,6 @@
 package org.apache.nifi.web.filter
 
 
-import org.bouncycastle.jce.provider.BouncyCastleProvider
 import org.junit.After
 import org.junit.Before
 import org.junit.BeforeClass
@@ -35,7 +34,6 @@ import javax.servlet.ServletRequest
 import javax.servlet.ServletResponse
 import javax.servlet.http.HttpServletRequest
 import javax.servlet.http.HttpServletResponse
-import java.security.Security
 
 @RunWith(JUnit4.class)
 class CatchAllFilterTest extends GroovyTestCase {
@@ -43,8 +41,6 @@ class CatchAllFilterTest extends GroovyTestCase {
 
     @BeforeClass
     static void setUpOnce() throws Exception {
-        Security.addProvider(new BouncyCastleProvider())
-
         logger.metaClass.methodMissing = { String name, args ->
             logger.info("[${name?.toUpperCase()}] ${(args as List).join(" ")}")
         }

Reply via email to