commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brit...@apache.org
Subject [07/12] [text] Fix typo
Date Sun, 19 Apr 2015 15:14:56 GMT
Fix typo


Project: http://git-wip-us.apache.org/repos/asf/commons-text/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-text/commit/a942b4c0
Tree: http://git-wip-us.apache.org/repos/asf/commons-text/tree/a942b4c0
Diff: http://git-wip-us.apache.org/repos/asf/commons-text/diff/a942b4c0

Branch: refs/heads/SANDBOX-498
Commit: a942b4c02194a6f544f129e89e0f399d51c5c01a
Parents: bbba0a3
Author: Benedikt Ritter <britter@apache.org>
Authored: Sun Apr 19 16:31:01 2015 +0200
Committer: Benedikt Ritter <britter@apache.org>
Committed: Sun Apr 19 16:31:01 2015 +0200

----------------------------------------------------------------------
 .../commons/text/names/HumanNameParserTest.java     | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-text/blob/a942b4c0/src/test/java/org/apache/commons/text/names/HumanNameParserTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/text/names/HumanNameParserTest.java b/src/test/java/org/apache/commons/text/names/HumanNameParserTest.java
index 314a949..f6c9ba6 100644
--- a/src/test/java/org/apache/commons/text/names/HumanNameParserTest.java
+++ b/src/test/java/org/apache/commons/text/names/HumanNameParserTest.java
@@ -71,29 +71,29 @@ public class HumanNameParserTest {
      * @param record a CSVRecord representing one record in the input file.
      */
     private void validateRecord(CSVRecord record) {
-        Name result = nameParser.parse(record.get(Colums.Name));
+        Name result = nameParser.parse(record.get(Columns.Name));
 
         long recordNum = record.getRecordNumber();
         assertThat("Wrong LeadingInit in record " + recordNum,
-                result.getLeadingInitial(), equalTo(record.get(Colums.LeadingInit)));
+                result.getLeadingInitial(), equalTo(record.get(Columns.LeadingInit)));
 
         assertThat("Wrong FirstName in record " + recordNum,
-                result.getFirstName(), equalTo(record.get(Colums.FirstName)));
+                result.getFirstName(), equalTo(record.get(Columns.FirstName)));
 
         assertThat("Wrong NickName in record " + recordNum,
-                result.getNickName(), equalTo(record.get(Colums.NickName)));
+                result.getNickName(), equalTo(record.get(Columns.NickName)));
 
         assertThat("Wrong MiddleName in record " + recordNum,
-                result.getMiddleName(), equalTo(record.get(Colums.MiddleName)));
+                result.getMiddleName(), equalTo(record.get(Columns.MiddleName)));
 
         assertThat("Wrong LastName in record " + recordNum,
-                result.getLastName(), equalTo(record.get(Colums.LastName)));
+                result.getLastName(), equalTo(record.get(Columns.LastName)));
 
         assertThat("Wrong Suffix in record " + recordNum,
-                result.getSuffix(), equalTo(record.get(Colums.Suffix)));
+                result.getSuffix(), equalTo(record.get(Columns.Suffix)));
     }
 
-    private enum Colums {
+    private enum Columns {
         Name,LeadingInit,FirstName,NickName,MiddleName,LastName,Suffix
     }
 }


Mime
View raw message