Author: rdonkin
Date: Mon Dec 9 05:35:02 2013
New Revision: 1549391
URL: http://svn.apache.org/r1549391
Log:
Format Code.
Modified:
creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/walker/FileNameComparatorTest.java
Modified:
creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/walker/FileNameComparatorTest.java
URL:
http://svn.apache.org/viewvc/creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/walker/FileNameComparatorTest.java?rev=1549391&r1=1549390&r2=1549391&view=diff
==============================================================================
---
creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/walker/FileNameComparatorTest.java
(original)
+++
creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/walker/FileNameComparatorTest.java
Mon Dec 9 05:35:02 2013
@@ -15,7 +15,7 @@
* KIND, either express or implied. See the License for the *
* specific language governing permissions and limitations *
* under the License. *
- */
+ */
package org.apache.rat.walker;
import org.apache.rat.test.utils.Resources;
@@ -28,11 +28,13 @@ import static org.junit.Assert.assertTru
public class FileNameComparatorTest {
- @Test
- public void compare() throws IOException {
- FileNameComparator comparator = new FileNameComparator();
- assertNotNull(comparator);
- final int compare =
comparator.compare(Resources.getResourceFile("elements/LICENSE"),
Resources.getResourceFile("elements/NOTICE"));
- assertTrue("LICENSE is before NOTICE", compare < 0);
- }
+ @Test
+ public void compare() throws IOException {
+ FileNameComparator comparator = new FileNameComparator();
+ assertNotNull(comparator);
+ final int compare = comparator.compare(
+ Resources.getResourceFile("elements/LICENSE"),
+ Resources.getResourceFile("elements/NOTICE"));
+ assertTrue("LICENSE is before NOTICE", compare < 0);
+ }
}