You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by br...@apache.org on 2016/05/06 07:06:40 UTC
svn commit: r1742505 -
/commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java
Author: britter
Date: Fri May 6 07:06:40 2016
New Revision: 1742505
URL: http://svn.apache.org/viewvc?rev=1742505&view=rev
Log:
Add missing since tags
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=1742505&r1=1742504&r2=1742505&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:06:40 2016
@@ -684,6 +684,7 @@ public final class CSVFormat implements
* Specifies whether header names will be accessed ignoring case.
*
* @return {@code true} if header names cases are ignored, {@code false} if they are case sensitive.
+ * @since 1.3
*/
public boolean getIgnoreHeaderCase() {
return ignoreHeaderCase;
@@ -752,6 +753,7 @@ public final class CSVFormat implements
* Returns whether to add a trailing delimiter.
*
* @return whether to add a trailing delimiter.
+ * @since 1.3
*/
public boolean getTrailingDelimiter() {
return trailingDelimiter;
@@ -1277,7 +1279,7 @@ public final class CSVFormat implements
*
* @return A new CSVFormat that will ignore case header name.
* @see #withIgnoreHeaderCase(boolean)
- * @since ?
+ * @since 1.3
*/
public CSVFormat withIgnoreHeaderCase() {
return this.withIgnoreHeaderCase(true);
@@ -1290,6 +1292,7 @@ public final class CSVFormat implements
* the case mapping behavior, {@code true} to access name/values, {@code false} to leave the mapping as
* is.
* @return A new CSVFormat that will ignore case header name if specified as {@code true}
+ * @since 1.3
*/
public CSVFormat withIgnoreHeaderCase(final boolean ignoreHeaderCase) {
return new CSVFormat(delimiter, quoteCharacter, quoteMode, commentMarker, escapeCharacter,
@@ -1458,6 +1461,7 @@ public final class CSVFormat implements
* 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,
@@ -1469,6 +1473,7 @@ public final class CSVFormat implements
* 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.
+ * @since 1.3
*/
public CSVFormat withTrailingDelimiter() {
return withTrailingDelimiter(true);
@@ -1481,6 +1486,7 @@ public final class CSVFormat implements
* whether to add a trailing delimiter.
*
* @return A new CSVFormat that is equal to this but with the specified trailing delimiter setting.
+ * @since 1.3
*/
public CSVFormat withTrailingDelimiter(final boolean trailingDelimiter) {
return new CSVFormat(delimiter, quoteCharacter, quoteMode, commentMarker, escapeCharacter,
@@ -1492,6 +1498,7 @@ public final class CSVFormat implements
* Returns a new {@code CSVFormat} to trim leading and trailing blanks.
*
* @return A new CSVFormat that is equal to this but with the trim setting on.
+ * @since 1.3
*/
public CSVFormat withTrim() {
return withTrim(true);