Author: sebb
Date: Thu Dec 11 16:07:15 2014
New Revision: 1644690
URL: http://svn.apache.org/r1644690
Log:
Unnecessary linewrap
Modified:
commons/proper/net/trunk/src/test/java/org/apache/commons/net/ftp/parser/EnterpriseUnixFTPEntryParserTest.java
commons/proper/net/trunk/src/test/java/org/apache/commons/net/ftp/parser/UnixFTPEntryParserTest.java
Modified:
commons/proper/net/trunk/src/test/java/org/apache/commons/net/ftp/parser/EnterpriseUnixFTPEntryParserTest.java
URL:
http://svn.apache.org/viewvc/commons/proper/net/trunk/src/test/java/org/apache/commons/net/ftp/parser/EnterpriseUnixFTPEntryParserTest.java?rev=1644690&r1=1644689&r2=1644690&view=diff
==============================================================================
---
commons/proper/net/trunk/src/test/java/org/apache/commons/net/ftp/parser/EnterpriseUnixFTPEntryParserTest.java
(original)
+++
commons/proper/net/trunk/src/test/java/org/apache/commons/net/ftp/parser/EnterpriseUnixFTPEntryParserTest.java
Thu Dec 11 16:07:15 2014
@@ -94,16 +94,11 @@ public class EnterpriseUnixFTPEntryParse
Calendar today = Calendar.getInstance();
int year = today.get(Calendar.YEAR);
- assertTrue("Should be a file.",
- file.isFile());
- assertEquals("QUADTEST",
- file.getName());
- assertEquals(5000000000L,
- file.getSize());
- assertEquals("QUA1I1",
- file.getUser());
- assertEquals("18128",
- file.getGroup());
+ assertTrue("Should be a file.", file.isFile());
+ assertEquals("QUADTEST", file.getName());
+ assertEquals(5000000000L, file.getSize());
+ assertEquals("QUA1I1", file.getUser());
+ assertEquals("18128", file.getGroup());
if (today.get(Calendar.MONTH) < Calendar.AUGUST) {
--year;
@@ -134,7 +129,6 @@ public class EnterpriseUnixFTPEntryParse
@Override
protected String[] getBadListing()
{
-
return (BADSAMPLES);
}
@@ -144,7 +138,6 @@ public class EnterpriseUnixFTPEntryParse
@Override
protected String[] getGoodListing()
{
-
return (GOODSAMPLES);
}
@@ -154,7 +147,6 @@ public class EnterpriseUnixFTPEntryParse
@Override
protected FTPFileEntryParser getParser()
{
-
return (new EnterpriseUnixFTPEntryParser());
}
Modified:
commons/proper/net/trunk/src/test/java/org/apache/commons/net/ftp/parser/UnixFTPEntryParserTest.java
URL:
http://svn.apache.org/viewvc/commons/proper/net/trunk/src/test/java/org/apache/commons/net/ftp/parser/UnixFTPEntryParserTest.java?rev=1644690&r1=1644689&r2=1644690&view=diff
==============================================================================
---
commons/proper/net/trunk/src/test/java/org/apache/commons/net/ftp/parser/UnixFTPEntryParserTest.java
(original)
+++
commons/proper/net/trunk/src/test/java/org/apache/commons/net/ftp/parser/UnixFTPEntryParserTest.java
Thu Dec 11 16:07:15 2014
@@ -104,8 +104,7 @@ public class UnixFTPEntryParserTest exte
new UnixFTPEntryParser(UnixFTPEntryParser.NUMERIC_DATE_CONFIG);
FTPFile f = parser.parseFTPEntry(testNumericDF);
- assertNotNull("Failed to parse " + testNumericDF,
- f);
+ assertNotNull("Failed to parse " + testNumericDF, f);
Calendar cal = Calendar.getInstance();
@@ -119,8 +118,7 @@ public class UnixFTPEntryParserTest exte
assertEquals(cal.getTime(), f.getTimestamp().getTime());
FTPFile f2 = parser.parseFTPEntry(testNumericDF2);
- assertNotNull("Failed to parse " + testNumericDF2,
- f2);
+ assertNotNull("Failed to parse " + testNumericDF2, f2);
assertEquals("symbolic link", "./../../global/macros/.", f2.getLink());
}
@@ -242,8 +240,7 @@ public class UnixFTPEntryParserTest exte
cal.set(Calendar.HOUR_OF_DAY, 15);
cal.set(Calendar.MINUTE, 13);
- assertEquals(df.format(cal.getTime()), df.format(f.getTimestamp()
- .getTime()));
+ assertEquals(df.format(cal.getTime()),
df.format(f.getTimestamp().getTime()));
}