Author: britter
Date: Fri May 6 07:07:43 2016
New Revision: 1742506
URL: http://svn.apache.org/viewvc?rev=1742506&view=rev
Log:
Sort methods in alphabetic order
Modified:
commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java
Modified:
commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java
URL:
http://svn.apache.org/viewvc/commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java?rev=1742506&r1=1742505&r2=1742506&view=diff
==============================================================================
---
commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java
(original)
+++
commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java
Fri May 6 07:07:43 2016
@@ -1455,21 +1455,6 @@ public final class CSVFormat implements
}
/**
- * Returns a new {@code CSVFormat} with whether to trim leading and
trailing blanks.
- *
- * @param trim
- * whether to trim leading and trailing blanks.
- *
- * @return A new CSVFormat that is equal to this but with the specified
trim setting.
- * @since 1.3
- */
- public CSVFormat withTrim(final boolean trim) {
- return new CSVFormat(delimiter, quoteCharacter, quoteMode,
commentMarker, escapeCharacter,
- ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator,
nullString, headerComments, header,
- skipHeaderRecord, allowMissingColumnNames, ignoreHeaderCase,
trim, trailingDelimiter);
- }
-
- /**
* Returns a new {@code CSVFormat} to add a trailing delimiter.
*
* @return A new CSVFormat that is equal to this but with the trailing
delimiter setting.
@@ -1503,4 +1488,19 @@ public final class CSVFormat implements
public CSVFormat withTrim() {
return withTrim(true);
}
+
+ /**
+ * Returns a new {@code CSVFormat} with whether to trim leading and
trailing blanks.
+ *
+ * @param trim
+ * whether to trim leading and trailing blanks.
+ *
+ * @return A new CSVFormat that is equal to this but with the specified
trim setting.
+ * @since 1.3
+ */
+ public CSVFormat withTrim(final boolean trim) {
+ return new CSVFormat(delimiter, quoteCharacter, quoteMode,
commentMarker, escapeCharacter,
+ ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator,
nullString, headerComments, header,
+ skipHeaderRecord, allowMissingColumnNames, ignoreHeaderCase,
trim, trailingDelimiter);
+ }
}