Return-Path: X-Original-To: apmail-commons-notifications-archive@minotaur.apache.org Delivered-To: apmail-commons-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 63CA617E69 for ; Sun, 19 Apr 2015 16:02:32 +0000 (UTC) Received: (qmail 94223 invoked by uid 500); 19 Apr 2015 16:02:32 -0000 Delivered-To: apmail-commons-notifications-archive@commons.apache.org Received: (qmail 94174 invoked by uid 500); 19 Apr 2015 16:02:32 -0000 Mailing-List: contact notifications-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list notifications@commons.apache.org Received: (qmail 94002 invoked by uid 99); 19 Apr 2015 16:02:31 -0000 Received: from eris.apache.org (HELO hades.apache.org) (140.211.11.105) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Apr 2015 16:02:31 +0000 Received: from hades.apache.org (localhost [127.0.0.1]) by hades.apache.org (ASF Mail Server at hades.apache.org) with ESMTP id D198EAC006E for ; Sun, 19 Apr 2015 16:02:31 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r948234 [21/39] - in /websites/production/commons/content/proper/commons-csv: ./ apidocs/ apidocs/org/apache/commons/csv/ apidocs/org/apache/commons/csv/class-use/ apidocs/resources/ apidocs/src-html/org/apache/commons/csv/ cobertura/ css/ ... Date: Sun, 19 Apr 2015 16:02:28 -0000 To: notifications@commons.apache.org From: britter@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20150419160231.D198EAC006E@hades.apache.org> Modified: websites/production/commons/content/proper/commons-csv/jacoco/org.apache.commons.csv/CSVFormat.html ============================================================================== --- websites/production/commons/content/proper/commons-csv/jacoco/org.apache.commons.csv/CSVFormat.html (original) +++ websites/production/commons/content/proper/commons-csv/jacoco/org.apache.commons.csv/CSVFormat.html Sun Apr 19 16:02:26 2015 @@ -1 +1 @@ -CSVFormat

CSVFormat

< td class="ctr1" id="f26">00
ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total116 of 1,38492%29 of 15882%2713220202053
toString()638457%61267%610102901
hashCode()11184%9950%91001401
equals(Object)1612889%93981%72574501
format(Object[])61571%n/a012501
validate()518397%13197%11712101
toStringArray(Object[])22994%1583%140701
isNullStringSet()2571%1150%120101
withHeader(ResultSet)889%1150%120101
withHeader(ResultSetMetaData)53100%1375%130701
CSVFormat(char, Character, QuoteMode, Character, Character, boolean, boolean, String, String, Object[], String[], boolean, boolean)52100%2100%0201601
static {...}44100%n/a010601
withCommentMarker(Character)36100%2100%020301
withDelimiter(char)36100%2100%020301
withEscape(Character)36100%2100%020301
withQuote(Character)36100%2100%020301
withHeaderComments( Object[])29100%n/a010101
withHeader(String[])28100%n/a010101
with AllowMissingColumnNames(boolean)28100%n/a010101
withIgnoreEmptyLines(boolean)28100%n/a010101
withIgnoreSurroundingSpaces(boolean)28100%n/a010101
withNullString(String)28100%n/a010101
withQuoteMode(QuoteMode)28100%n/a010101
withRecordSeparator(String)28100%n/a01010 1
withSkipHeaderRecord(boolean)28100%n/a010101
newFormat(char)17100%n/a010101
isLineBreak(char)10100%4100%030101
isLineBreak(Character)10100%4100%30101
getHeader()10100%2100%020101
getHeaderComments()10100%2100%020101
isCommentMarkerSet()7100%2100%020101
isEscapeCharacterSet()7100%2100%020101
isQuoteCharacterSet()7100%2100%020101
parse(Reader)6100%n/a010101
print(Appendable)6100%n/a010101
withCommentMarker(char)5100%n/a010101
withEscape(char)5100%n/a010101
withQuote(char)5100%n/a010101
withRecordSeparator(char)5100%n/a010101
withAllowMissingColumnNames()4100%n/a010101
withIgnoreEmptyLines()4100%n/a01101
withIgnoreSurroundingSpaces()4100%n/a010101
withSkipHeaderRecord()4100%n/a010101
getCommentMarker()3100%n/a010101
getDelimiter()3100%n/a010101
getEscapeCharacter()3100%n/a010101
getAllowMissingColumnNames()3100%n/a010101
getIgnoreEmptyLines()3100%n/a010101
getIgnoreSurroundingSpaces()3100%n/a010101
getNullString()3100%n/a010101
getQuoteCharacter()3100%n/a010101
getQuoteMode()3100%n/a010101
getRecordSeparator()3100%n/a010101
getSkipHeaderRecord()3100%n/a010101
\ No newline at end of file +CSVFormat

CSVFormat

< td class="ctr1" id="f26">00
ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total116 of 1,39792%29 of 15882%2713220200053
toString()638457%61267%610102901
hashCode()11184%9950%91001401
equals(Object)1612889%93981%72574501
format(Object[])61571%n/a012501
validate()518397%13197%11712001
toStringArray(Object[])22994%1583%140701
isNullStringSet()2571%1150%120101
withHeader(ResultSet)889%1150%120101
withHeader(ResultSetMetaData)54100%1375%130701
CSVFormat(char, Character, QuoteMode, Character, Character, boolean, boolean, String, String, Object[], String[], boolean, boolean)52100%2100%0201601
static {...}44100%n/a010501
withCommentMarker(Character)37100%2100%020301
withDelimiter(char)37100%2100%020301
withEscape(Character)37100%2100%020301
withQuote(Character)37100%2100%020301
withHeader(String[] )29100%n/a010101
withHeaderComments(Object[])29100%n/a010101
with AllowMissingColumnNames(boolean)29100%n/a010101
withIgnoreEmptyLines(boolean)29100%n/a010101
withIgnoreSurroundingSpaces(boolean)29100%n/a010101
withNullString(String)29100%n/a010101
withQuoteMode(QuoteMode)29100%n/a010101
withRecordSeparator(String)29100%n/a01010 1
withSkipHeaderRecord(boolean)29100%n/a010101
newFormat(char)17100%n/a010101
isLineBreak(char)10100%4100%030101
isLineBreak(Character)10100%4100%30101
getHeader()10100%2100%020101
getHeaderComments()10100%2100%020101
isCommentMarkerSet()7100%2100%020101
isEscapeCharacterSet()7100%2100%020101
isQuoteCharacterSet()7100%2100%020101
parse(Reader)6100%n/a010101
print(Appendable)6100%n/a010101
withCommentMarker(char)5100%n/a010101
withEscape(char)5100%n/a010101
withQuote(char)5100%n/a010101
withRecordSeparator(char)5100%n/a010101
withAllowMissingColumnNames()4100%n/a010101
withIgnoreEmptyLines()4100%n/a01101
withIgnoreSurroundingSpaces()4100%n/a010101
withSkipHeaderRecord()4100%n/a010101
getCommentMarker()3100%n/a010101
getDelimiter()3100%n/a010101
getEscapeCharacter()3100%n/a010101
getAllowMissingColumnNames()3100%n/a010101
getIgnoreEmptyLines()3100%n/a010101
getIgnoreSurroundingSpaces()3100%n/a010101
getNullString()3100%n/a010101
getQuoteCharacter()3100%n/a010101
getQuoteMode()3100%n/a010101
getRecordSeparator()3100%n/a010101
getSkipHeaderRecord()3100%n/a010101
\ No newline at end of file Modified: websites/production/commons/content/proper/commons-csv/jacoco/org.apache.commons.csv/CSVFormat.java.html ============================================================================== --- websites/production/commons/content/proper/commons-csv/jacoco/org.apache.commons.csv/CSVFormat.java.html (original) +++ websites/production/commons/content/proper/commons-csv/jacoco/org.apache.commons.csv/CSVFormat.java.html Sun Apr 19 16:02:26 2015 @@ -143,7 +143,7 @@ import java.util.Set; * This class is immutable. * </p> * - * @version $Id: CSVFormat.java 1638699 2014-11-12 03:49:31Z ggregory $ + * @version $Id: CSVFormat.java 1641845 2014-11-26 16:25:17Z ggregory $ */ public final class CSVFormat implements Serializable { @@ -261,7 +261,7 @@ public final class CSVFormat implements * http://dev.mysql.com/doc/refman/5.1/en/load-data.html</a> */ public static final CSVFormat MYSQL = DEFAULT.withDelimiter(TAB).withEscape(BACKSLASH).withIgnoreEmptyLines(false) - .withQuote(null).withRecordSeparator(LF); + .withQuote(null).withRecordSeparator(LF); /** * Returns true if the given character is a line break character. @@ -767,7 +767,7 @@ public final class CSVFormat implements for (final String hdr : header) { if (!dupCheck.add(hdr)) { throw new IllegalArgumentException("The header contains a duplicate entry: '" + hdr + "' in " + - Arrays.toString(header)); + Arrays.toString(header)); } } } @@ -804,8 +804,8 @@ public final class CSVFormat implements throw new IllegalArgumentException("The comment start marker character cannot be a line break"); } return new CSVFormat(delimiter, quoteCharacter, quoteMode, commentMarker, escapeCharacter, - ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, null, header, skipHeaderRecord, - allowMissingColumnNames); + ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, headerComments, header, + skipHeaderRecord, allowMissingColumnNames); } /** @@ -822,8 +822,8 @@ public final class CSVFormat implements throw new IllegalArgumentException("The delimiter cannot be a line break"); } return new CSVFormat(delimiter, quoteCharacter, quoteMode, commentMarker, escapeCharacter, - ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, null, header, skipHeaderRecord, - allowMissingColumnNames); + ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, headerComments, header, + skipHeaderRecord, allowMissingColumnNames); } /** @@ -853,7 +853,8 @@ public final class CSVFormat implements throw new IllegalArgumentException("The escape character cannot be a line break"); } return new CSVFormat(delimiter, quoteCharacter, quoteMode, commentMarker, escape, ignoreSurroundingSpaces, - ignoreEmptyLines, recordSeparator, nullString, null, header, skipHeaderRecord, allowMissingColumnNames); + ignoreEmptyLines, recordSeparator, nullString, headerComments, header, skipHeaderRecord, + allowMissingColumnNames); } /** @@ -879,9 +880,9 @@ public final class CSVFormat implements * @see #withSkipHeaderRecord(boolean) */ public CSVFormat withHeader(final String... header) { - return new CSVFormat(delimiter, quoteCharacter, quoteMode, commentMarker, escapeCharacter, - ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, null, header, skipHeaderRecord, - allowMissingColumnNames); + return new CSVFormat(delimiter, quoteCharacter, quoteMode, commentMarker, escapeCharacter, + ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, headerComments, header, + skipHeaderRecord, allowMissingColumnNames); } /** @@ -910,7 +911,7 @@ public final class CSVFormat implements * @since 1.1 */ public CSVFormat withHeader(final ResultSet resultSet) throws SQLException { - return withHeader(resultSet != null ? resultSet.getMetaData() : null); + return withHeader(resultSet != null ? resultSet.getMetaData() : null); } /** @@ -939,17 +940,17 @@ public final class CSVFormat implements * @since 1.1 */ public CSVFormat withHeader(final ResultSetMetaData metaData) throws SQLException { - String[] labels = null; - if (metaData != null) { - final int columnCount = metaData.getColumnCount(); - labels = new String[columnCount]; - for (int i = 0; i < columnCount; i++) { - labels[i] = metaData.getColumnLabel(i + 1); + String[] labels = null; + if (metaData != null) { + final int columnCount = metaData.getColumnCount(); + labels = new String[columnCount]; + for (int i = 0; i < columnCount; i++) { + labels[i] = metaData.getColumnLabel(i + 1); } } - return new CSVFormat(delimiter, quoteCharacter, quoteMode, commentMarker, escapeCharacter, - ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, null, labels, skipHeaderRecord, - allowMissingColumnNames); + return new CSVFormat(delimiter, quoteCharacter, quoteMode, commentMarker, escapeCharacter, + ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, headerComments, labels, + skipHeaderRecord, allowMissingColumnNames); } /** @@ -968,7 +969,7 @@ public final class CSVFormat implements * @since 1.1 */ public CSVFormat withHeaderComments(final Object... headerComments) { - return new CSVFormat(delimiter, quoteCharacter, quoteMode, commentMarker, escapeCharacter, + return new CSVFormat(delimiter, quoteCharacter, quoteMode, commentMarker, escapeCharacter, ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, headerComments, header, skipHeaderRecord, allowMissingColumnNames); } @@ -981,7 +982,7 @@ public final class CSVFormat implements * @since 1.1 */ public CSVFormat withAllowMissingColumnNames() { - return this.withAllowMissingColumnNames(true); + return this.withAllowMissingColumnNames(true); } /** @@ -993,9 +994,9 @@ public final class CSVFormat implements * @return A new CSVFormat that is equal to this but with the specified missing column names behavior. */ public CSVFormat withAllowMissingColumnNames(final boolean allowMissingColumnNames) { - return new CSVFormat(delimiter, quoteCharacter, quoteMode, commentMarker, escapeCharacter, - ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, null, header, skipHeaderRecord, - allowMissingColumnNames); + return new CSVFormat(delimiter, quoteCharacter, quoteMode, commentMarker, escapeCharacter, + ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, headerComments, header, + skipHeaderRecord, allowMissingColumnNames); } /** @@ -1006,7 +1007,7 @@ public final class CSVFormat implements * @since 1.1 */ public CSVFormat withIgnoreEmptyLines() { - return this.withIgnoreEmptyLines(true); + return this.withIgnoreEmptyLines(true); } /** @@ -1018,9 +1019,9 @@ public final class CSVFormat implements * @return A new CSVFormat that is equal to this but with the specified empty line skipping behavior. */ public CSVFormat withIgnoreEmptyLines(final boolean ignoreEmptyLines) { - return new CSVFormat(delimiter, quoteCharacter, quoteMode, commentMarker, escapeCharacter, - ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, null, header, skipHeaderRecord, - allowMissingColumnNames); + return new CSVFormat(delimiter, quoteCharacter, quoteMode, commentMarker, escapeCharacter, + ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, headerComments, header, + skipHeaderRecord, allowMissingColumnNames); } /** @@ -1031,7 +1032,7 @@ public final class CSVFormat implements * @since 1.1 */ public CSVFormat withIgnoreSurroundingSpaces() { - return this.withIgnoreSurroundingSpaces(true); + return this.withIgnoreSurroundingSpaces(true); } /** @@ -1043,9 +1044,9 @@ public final class CSVFormat implements * @return A new CSVFormat that is equal to this but with the specified trimming behavior. */ public CSVFormat withIgnoreSurroundingSpaces(final boolean ignoreSurroundingSpaces) { - return new CSVFormat(delimiter, quoteCharacter, quoteMode, commentMarker, escapeCharacter, - ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, null, header, skipHeaderRecord, - allowMissingColumnNames); + return new CSVFormat(delimiter, quoteCharacter, quoteMode, commentMarker, escapeCharacter, + ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, headerComments, header, + skipHeaderRecord, allowMissingColumnNames); } /** @@ -1064,9 +1065,9 @@ public final class CSVFormat implements * @return A new CSVFormat that is equal to this but with the specified null conversion string. */ public CSVFormat withNullString(final String nullString) { - return new CSVFormat(delimiter, quoteCharacter, quoteMode, commentMarker, escapeCharacter, - ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, null, header, skipHeaderRecord, - allowMissingColumnNames); + return new CSVFormat(delimiter, quoteCharacter, quoteMode, commentMarker, escapeCharacter, + ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, headerComments, header, + skipHeaderRecord, allowMissingColumnNames); } /** @@ -1079,7 +1080,7 @@ public final class CSVFormat implements * thrown if the specified character is a line break */ public CSVFormat withQuote(final char quoteChar) { - return withQuote(Character.valueOf(quoteChar)); + return withQuote(Character.valueOf(quoteChar)); } /** @@ -1092,11 +1093,12 @@ public final class CSVFormat implements * thrown if the specified character is a line break */ public CSVFormat withQuote(final Character quoteChar) { - if (isLineBreak(quoteChar)) { - throw new IllegalArgumentException("The quoteChar cannot be a line break"); + if (isLineBreak(quoteChar)) { + throw new IllegalArgumentException("The quoteChar cannot be a line break"); } - return new CSVFormat(delimiter, quoteChar, quoteMode, commentMarker, escapeCharacter, ignoreSurroundingSpaces, - ignoreEmptyLines, recordSeparator, nullString, null, header, skipHeaderRecord, allowMissingColumnNames); + return new CSVFormat(delimiter, quoteChar, quoteMode, commentMarker, escapeCharacter, ignoreSurroundingSpaces, + ignoreEmptyLines, recordSeparator, nullString, headerComments, header, skipHeaderRecord, + allowMissingColumnNames); } /** @@ -1108,9 +1110,9 @@ public final class CSVFormat implements * @return A new CSVFormat that is equal to this but with the specified quote policy */ public CSVFormat withQuoteMode(final QuoteMode quoteModePolicy) { - return new CSVFormat(delimiter, quoteCharacter, quoteModePolicy, commentMarker, escapeCharacter, - ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, null, header, skipHeaderRecord, - allowMissingColumnNames); + return new CSVFormat(delimiter, quoteCharacter, quoteModePolicy, commentMarker, escapeCharacter, + ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, headerComments, header, + skipHeaderRecord, allowMissingColumnNames); } /** @@ -1127,7 +1129,7 @@ public final class CSVFormat implements * @return A new CSVFormat that is equal to this but with the the specified output record separator */ public CSVFormat withRecordSeparator(final char recordSeparator) { - return withRecordSeparator(String.valueOf(recordSeparator)); + return withRecordSeparator(String.valueOf(recordSeparator)); } /** @@ -1146,9 +1148,9 @@ public final class CSVFormat implements * if recordSeparator is none of CR, LF or CRLF */ public CSVFormat withRecordSeparator(final String recordSeparator) { - return new CSVFormat(delimiter, quoteCharacter, quoteMode, commentMarker, escapeCharacter, - ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, null, header, skipHeaderRecord, - allowMissingColumnNames); + return new CSVFormat(delimiter, quoteCharacter, quoteMode, commentMarker, escapeCharacter, + ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, headerComments, header, + skipHeaderRecord, allowMissingColumnNames); } /** @@ -1160,7 +1162,7 @@ public final class CSVFormat implements * @since 1.1 */ public CSVFormat withSkipHeaderRecord() { - return this.withSkipHeaderRecord(true); + return this.withSkipHeaderRecord(true); } /** @@ -1173,9 +1175,9 @@ public final class CSVFormat implements * @see #withHeader(String...) */ public CSVFormat withSkipHeaderRecord(final boolean skipHeaderRecord) { - return new CSVFormat(delimiter, quoteCharacter, quoteMode, commentMarker, escapeCharacter, - ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, null, header, skipHeaderRecord, - allowMissingColumnNames); + return new CSVFormat(delimiter, quoteCharacter, quoteMode, commentMarker, escapeCharacter, + ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, headerComments, header, + skipHeaderRecord, allowMissingColumnNames); } } \ No newline at end of file