NIFI-8460 Remove unused BouncyCastle reference in test class

This closes #5022

Signed-off-by: David Handermann <exceptionfactory@apache.org>
This commit is contained in:
Paul Grey 2021-04-22 11:33:29 -04:00 committed by exceptionfactory
parent 17fa0cf3c1
commit a1597ced89
No known key found for this signature in database
GPG Key ID: 29B6A52D2AAE8DBA
1 changed files with 0 additions and 4 deletions

View File

@ -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(" ")}")
}