You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by tv...@apache.org on 2019/10/22 14:10:31 UTC

svn commit: r1868758 - /db/torque/torque4/trunk/torque-templates/src/test/java/org/apache/torque/templates/TestProcessing.java

Author: tv
Date: Tue Oct 22 14:10:31 2019
New Revision: 1868758

URL: http://svn.apache.org/viewvc?rev=1868758&view=rev
Log:
Organize imports

Modified:
    db/torque/torque4/trunk/torque-templates/src/test/java/org/apache/torque/templates/TestProcessing.java

Modified: db/torque/torque4/trunk/torque-templates/src/test/java/org/apache/torque/templates/TestProcessing.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-templates/src/test/java/org/apache/torque/templates/TestProcessing.java?rev=1868758&r1=1868757&r2=1868758&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-templates/src/test/java/org/apache/torque/templates/TestProcessing.java (original)
+++ db/torque/torque4/trunk/torque-templates/src/test/java/org/apache/torque/templates/TestProcessing.java Tue Oct 22 14:10:31 2019
@@ -1,25 +1,5 @@
 package org.apache.torque.templates;
 
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import static org.junit.jupiter.api.Assertions.assertEquals;
 import static org.junit.jupiter.api.Assertions.assertFalse;
 import static org.junit.jupiter.api.Assertions.assertTrue;
 
@@ -37,7 +17,6 @@ import java.util.List;
 import java.util.Map;
 import java.util.Set;
 
-import org.apache.commons.io.Charsets;
 import org.apache.commons.io.FileUtils;
 import org.apache.commons.io.IOUtils;
 import org.apache.torque.generator.configuration.UnitDescriptor;
@@ -225,11 +204,11 @@ public class TestProcessing
     }
 
     /**
-     * Ignore until 
-     * 
+     * Ignore until
+     *
      * https://issues.apache.org/jira/projects/TORQUE/issues/TORQUE-358?filter=allopenissues
-     * is resolved 
-     * 
+     * is resolved
+     *
      * @throws Exception
      */
     @Disabled
@@ -283,11 +262,11 @@ public class TestProcessing
     }
 
     /**
-     * Ignore until 
-     * 
+     * Ignore until
+     *
      * https://issues.apache.org/jira/projects/TORQUE/issues/TORQUE-358?filter=allopenissues
-     * is resolved 
-     * 
+     * is resolved
+     *
      * @throws Exception
      */
     @Disabled
@@ -391,10 +370,10 @@ public class TestProcessing
 //        final String actual = FileUtils.readFileToString(
 //                new File(actualFilename),
 //                charset);
-        // auto close file input stream 
+        // auto close file input stream
         try (Reader actualReader  =new InputStreamReader(new FileInputStream(actualFilename), charset) ) {
             assertTrue(
-                IOUtils.contentEqualsIgnoreEOL(new InputStreamReader(IOUtils.toInputStream(expected, charset)), 
+                IOUtils.contentEqualsIgnoreEOL(new InputStreamReader(IOUtils.toInputStream(expected, charset)),
                         actualReader) );
         }
     }



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