ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peterrei...@apache.org
Subject svn commit: r565092 - in /ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/optional/junit: JUnitVersionHelper.java XMLConstants.java
Date Sun, 12 Aug 2007 18:09:51 GMT
Author: peterreilly
Date: Sun Aug 12 11:09:50 2007
New Revision: 565092

URL: http://svn.apache.org/viewvc?view=rev&rev=565092
Log:
checkstyle merge

Modified:
    ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitVersionHelper.java
    ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/optional/junit/XMLConstants.java

Modified: ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitVersionHelper.java
URL: http://svn.apache.org/viewvc/ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitVersionHelper.java?view=diff&rev=565092&r1=565091&r2=565092
==============================================================================
--- ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitVersionHelper.java
(original)
+++ ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitVersionHelper.java
Sun Aug 12 11:09:50 2007
@@ -27,6 +27,7 @@
  * different JUnit releases.
  * @since Ant 1.7
  */
+// CheckStyle:HideUtilityClassConstructorCheck OFF (bc)
 public class JUnitVersionHelper {
 
     private static Method testCaseName = null;
@@ -36,7 +37,8 @@
      * {@value}
      * @since Ant 1.7.1
      */
-    public static final String JUNIT_FRAMEWORK_JUNIT4_TEST_CASE_FACADE = "junit.framework.JUnit4TestCaseFacade";
+    public static final String JUNIT_FRAMEWORK_JUNIT4_TEST_CASE_FACADE
+        = "junit.framework.JUnit4TestCaseFacade";
     private static final String UNKNOWN_TEST_CASE_NAME = "unknown";
 
     static {
@@ -68,8 +70,7 @@
      * @return the name of the test.
      */
     public static String getTestCaseName(Test t) {
-        if (t == null)
-        {
+        if (t == null) {
             return UNKNOWN_TEST_CASE_NAME;
         }
         if (t.getClass().getName().equals(JUNIT_FRAMEWORK_JUNIT4_TEST_CASE_FACADE)) {

Modified: ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/optional/junit/XMLConstants.java
URL: http://svn.apache.org/viewvc/ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/optional/junit/XMLConstants.java?view=diff&rev=565092&r1=565091&r2=565092
==============================================================================
--- ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/optional/junit/XMLConstants.java
(original)
+++ ant/core/branches/ANT_17_BRANCH/src/main/org/apache/tools/ant/taskdefs/optional/junit/XMLConstants.java
Sun Aug 12 11:09:50 2007
@@ -65,6 +65,7 @@
  * @see XMLJUnitResultFormatter
  * @see XMLResultAggregator
  */
+// CheckStyle:InterfaceIsTypeCheck OFF (bc)
 public interface XMLConstants {
     /** the testsuites element for the aggregate document */
     String TESTSUITES = "testsuites";



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message