diff --git a/tck/pom.xml b/tck/pom.xml index 7ca15d04..86d9670c 100644 --- a/tck/pom.xml +++ b/tck/pom.xml @@ -143,7 +143,11 @@ - + + org.apache.maven.plugins maven-checkstyle-plugin diff --git a/tck/src/main/java/ee/jakarta/tck/concurrent/common/signature/SigTestDriver.java b/tck/src/main/java/ee/jakarta/tck/concurrent/common/signature/SigTestDriver.java index 190ae15b..2ba84537 100644 --- a/tck/src/main/java/ee/jakarta/tck/concurrent/common/signature/SigTestDriver.java +++ b/tck/src/main/java/ee/jakarta/tck/concurrent/common/signature/SigTestDriver.java @@ -63,7 +63,7 @@ public class SigTestDriver extends SignatureTestDriver { "java.io.InputStream", "java.lang.Deprecated", "java.io.Writer", "java.io.OutputStream", "java.util.List", "java.util.Collection", "java.lang.instrument.IllegalClassFormatException", "javax.transaction.xa.XAException", "java.lang.annotation.Repeatable", "java.lang.InterruptedException", - "java.lang.CloneNotSupportedException", "java.lang.Throwable", "java.lang.Thread", "java.lang.Enum" + "java.lang.CloneNotSupportedException", "java.lang.Throwable", "java.lang.Thread", "java.lang.Enum" }; // ---------------------------------------- Methods from SignatureTestDriver @@ -152,7 +152,7 @@ protected boolean runSignatureTest(final String packageOrClassName, final String Method runMethod = sigTestClass.getDeclaredMethod("run", new Class[] { - String[].class, PrintWriter.class, PrintWriter.class + String[].class, PrintWriter.class, PrintWriter.class }); runMethod.invoke(sigTestInstance, new Object[] { testArguments, new PrintWriter(output, true), null @@ -195,7 +195,7 @@ protected boolean runPackageSearch(final String packageOrClassName, final String Method runMethod = sigTestClass.getDeclaredMethod("run", new Class[] { - String[].class, PrintWriter.class, PrintWriter.class + String[].class, PrintWriter.class, PrintWriter.class }); runMethod.invoke(sigTestInstance, new Object[] { testArguments, new PrintWriter(output, true), null diff --git a/tck/src/main/java/ee/jakarta/tck/concurrent/spec/ManagedThreadFactory/context/ContextFullTests.java b/tck/src/main/java/ee/jakarta/tck/concurrent/spec/ManagedThreadFactory/context/ContextFullTests.java index a0f69050..df529cab 100644 --- a/tck/src/main/java/ee/jakarta/tck/concurrent/spec/ManagedThreadFactory/context/ContextFullTests.java +++ b/tck/src/main/java/ee/jakarta/tck/concurrent/spec/ManagedThreadFactory/context/ContextFullTests.java @@ -42,7 +42,7 @@ public class ContextFullTests extends TestClient { @Deployment(name = "ContextTests") public static EnterpriseArchive createDeployment() { WebArchive war = ShrinkWrap.create(WebArchive.class).addPackages(true, ContextFullTests.class.getPackage()) - .addPackages(false, PACKAGE.TASKS.getPackageName()).deleteClass(SecurityTestEjb.class) + .addPackages(false, PACKAGE.TASKS.getPackageName()).deleteClass(SecurityTestEjb.class) .deleteClass(SecurityTestInterface.class) .addAsWebInfResource(ContextFullTests.class.getPackage(), "web.xml", "web.xml");