ant-dev mailing list archives

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

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

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

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/junit/FailureRecorder.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/junit/FailureRecorder.java?view=diff&rev=565091&r1=565090&r2=565091
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/junit/FailureRecorder.java
(original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/junit/FailureRecorder.java
Sun Aug 12 11:09:18 2007
@@ -202,7 +202,7 @@
     private void createClassHeader() {
         String className = getLocationName().replace('\\', '/');
         if (className.indexOf('/') > -1) {
-            className = className.substring(className.lastIndexOf('/') +1 );
+            className = className.substring(className.lastIndexOf('/') + 1);
         }
         SimpleDateFormat sdf = new SimpleDateFormat("yyyy.MM.dd HH:mm:ss,SSS");
         writer.print("// generated on: ");

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitVersionHelper.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitVersionHelper.java?view=diff&rev=565091&r1=565090&r2=565091
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitVersionHelper.java
(original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitVersionHelper.java
Sun Aug 12 11:09:18 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/trunk/src/main/org/apache/tools/ant/taskdefs/optional/junit/XMLConstants.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/junit/XMLConstants.java?view=diff&rev=565091&r1=565090&r2=565091
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/junit/XMLConstants.java
(original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/junit/XMLConstants.java
Sun Aug 12 11:09:18 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