This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-csv.git
The following commit(s) were added to refs/heads/master by this push: new 6ffce53 Standardize on US spelling of "behavior". 6ffce53 is described below commit 6ffce5335b9824ade8e728e3cb9e05198678d420 Author: Gary Gregory <gardgreg...@gmail.com> AuthorDate: Tue May 28 23:45:25 2019 -0400 Standardize on US spelling of "behavior". --- RELEASE-NOTES.txt | 2 +- src/changes/changes.xml | 2 +- src/main/java/org/apache/commons/csv/CSVFormat.java | 4 ++-- src/test/java/org/apache/commons/csv/CSVParserTest.java | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt index 3497353..ac4304f 100644 --- a/RELEASE-NOTES.txt +++ b/RELEASE-NOTES.txt @@ -193,7 +193,7 @@ o CSV-161: Fix Javadoc to say CSVFormat with() methods return a new CSVFormat. CHANGES ============ -o CSV-167: Comment line hides next record; update Javadoc to make behaviour clear. Thanks to Rene. +o CSV-167: Comment line hides next record; update Javadoc to make behavior clear. Thanks to Rene. o CSV-153: CSVPrinter doesn't skip creation of header record if skipHeaderRecord is set to true. Thanks to Wren. diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 2fa9369..4ff7e17 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -83,7 +83,7 @@ <release version="1.3" date="2016-05-09" description="Feature and bug fix release (Java 6)"> <action issue="CSV-179" type="add" dev="britter">Add shortcut method for using first record as header to CSVFormat</action> <action issue="CSV-180" type="add" dev="britter">Add withHeader(Class<? extends Enum>) to CSVFormat</action> - <action issue="CSV-167" type="update" dev="sebb" due-to="Rene">Comment line hides next record; update Javadoc to make behaviour clear</action> + <action issue="CSV-167" type="update" dev="sebb" due-to="Rene">Comment line hides next record; update Javadoc to make behavior clear</action> <action issue="CSV-153" type="update" dev="britter" due-to="Wren">CSVPrinter doesn't skip creation of header record if skipHeaderRecord is set to true</action> <action issue="CSV-159" type="add" dev="ggregory" due-to="Yamil Medina">Add IgnoreCase option for accessing header names</action> <action issue="CSV-169" type="add" dev="ggregory" due-to="Gary Gregory">The null string should be case-sensitive when reading records</action> diff --git a/src/main/java/org/apache/commons/csv/CSVFormat.java b/src/main/java/org/apache/commons/csv/CSVFormat.java index 1c0e2d4..98f5724 100644 --- a/src/main/java/org/apache/commons/csv/CSVFormat.java +++ b/src/main/java/org/apache/commons/csv/CSVFormat.java @@ -1688,9 +1688,9 @@ public final class CSVFormat implements Serializable { } /** - * Returns a new {@code CSVFormat} with duplicate header names behaviour set to the given value. + * Returns a new {@code CSVFormat} with duplicate header names behavior set to the given value. * - * @return a new {@code CSVFormat} with duplicate header names behaviour set to the given value + * @return a new {@code CSVFormat} with duplicate header names behavior set to the given value */ public CSVFormat withAllowDuplicateHeaderNames(final boolean allowDuplicateHeaderNames) { return new CSVFormat(delimiter, quoteCharacter, quoteMode, commentMarker, escapeCharacter, diff --git a/src/test/java/org/apache/commons/csv/CSVParserTest.java b/src/test/java/org/apache/commons/csv/CSVParserTest.java index 10bb3c5..14293bc 100644 --- a/src/test/java/org/apache/commons/csv/CSVParserTest.java +++ b/src/test/java/org/apache/commons/csv/CSVParserTest.java @@ -319,7 +319,7 @@ public class CSVParserTest { } @Test - public void testEmptyLineBehaviourCSV() throws Exception { + public void testEmptyLineBehaviorCSV() throws Exception { final String[] codes = { "hello,\r\n\r\n\r\n", "hello,\n\n\n", "hello,\"\"\r\n\r\n\r\n", "hello,\"\"\n\n\n" }; final String[][] res = { { "hello", "" } // CSV format ignores empty lines }; @@ -336,7 +336,7 @@ public class CSVParserTest { } @Test - public void testEmptyLineBehaviourExcel() throws Exception { + public void testEmptyLineBehaviorExcel() throws Exception { final String[] codes = { "hello,\r\n\r\n\r\n", "hello,\n\n\n", "hello,\"\"\r\n\r\n\r\n", "hello,\"\"\n\n\n" }; final String[][] res = { { "hello", "" }, { "" }, // Excel format does not ignore empty lines { "" } }; @@ -372,7 +372,7 @@ public class CSVParserTest { } @Test - public void testEndOfFileBehaviourExcel() throws Exception { + public void testEndOfFileBehaviorExcel() throws Exception { final String[] codes = { "hello,\r\n\r\nworld,\r\n", "hello,\r\n\r\nworld,", "hello,\r\n\r\nworld,\"\"\r\n", "hello,\r\n\r\nworld,\"\"", "hello,\r\n\r\nworld,\n", "hello,\r\n\r\nworld,", "hello,\r\n\r\nworld,\"\"\n", "hello,\r\n\r\nworld,\"\"" };