Commit Graph

873 Commits

Author SHA1 Message Date
Benedikt Ritter 040bbefb2c project tag has to be on a single line for maven release plugin to work
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1617081 13f79535-47bb-0310-9956-ffa450edef68
2014-08-10 09:56:49 +00:00
Benedikt Ritter f0b4fc5109 Fix JavaDoc problems
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1617076 13f79535-47bb-0310-9956-ffa450edef68
2014-08-10 09:23:01 +00:00
Benedikt Ritter 3c7be9458f Override jacoco version from commons parent to make the build work with java 8
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1617074 13f79535-47bb-0310-9956-ffa450edef68
2014-08-10 09:11:58 +00:00
Benedikt Ritter 3eec388ea5 Add missing bugfix to RELEASE-NOTES
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1617072 13f79535-47bb-0310-9956-ffa450edef68
2014-08-10 09:01:14 +00:00
Benedikt Ritter 07e215eef5 Add Java requirement to download page
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1617071 13f79535-47bb-0310-9956-ffa450edef68
2014-08-10 08:59:44 +00:00
Benedikt Ritter e729fdff4d Remove commented out code and add TODO for obscure code
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1617070 13f79535-47bb-0310-9956-ffa450edef68
2014-08-10 08:54:34 +00:00
Benedikt Ritter d69e911aea Remove import that is only used in JavaDoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1617069 13f79535-47bb-0310-9956-ffa450edef68
2014-08-10 08:53:42 +00:00
Benedikt Ritter a6a92598de Make checkstyle happy
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1617066 13f79535-47bb-0310-9956-ffa450edef68
2014-08-10 08:50:05 +00:00
Benedikt Ritter af2c045d83 Update report plugins to latest version
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1617064 13f79535-47bb-0310-9956-ffa450edef68
2014-08-10 08:44:55 +00:00
Benedikt Ritter 67d150adc8 Restore commentMarker property which was overridden during refactoring
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1612390 13f79535-47bb-0310-9956-ffa450edef68
2014-07-21 19:42:40 +00:00
Gary D. Gregory f9a3162037 Use "Character" as the postfix is ivar names. Use the method name pattern isFooSet() for ivar "foo" for methods that test foo for null (foo != null).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1612352 13f79535-47bb-0310-9956-ffa450edef68
2014-07-21 17:18:20 +00:00
Benedikt Ritter a72c71f5cc Consistently rename Quote/QuotePolicy to QuoteMode
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1612344 13f79535-47bb-0310-9956-ffa450edef68
2014-07-21 16:32:08 +00:00
Benedikt Ritter 4695d73e3b Prefix everything that is a pure getter with "get" as proposed by Gary Gregory
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1612341 13f79535-47bb-0310-9956-ffa450edef68
2014-07-21 16:28:07 +00:00
Benedikt Ritter aa0762d538 Rename the IgnoreEmptyHeaders property to AllowMissingColumnNames
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1612337 13f79535-47bb-0310-9956-ffa450edef68
2014-07-21 16:23:00 +00:00
Gary D. Gregory 62345245e9 Use the more modern, compact, and flexible Javadoc "{@code ...}" instead of the HTML "<tt>...</tt>".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1612019 13f79535-47bb-0310-9956-ffa450edef68
2014-07-20 04:37:40 +00:00
Benedikt Ritter 7d8821225e CSV-125: No longer works with Java 6. Changing source level back to Java 6
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1611389 13f79535-47bb-0310-9956-ffa450edef68
2014-07-17 15:23:10 +00:00
Gary D. Gregory aff3891701 Update test dependencies to latest (some depend on Java 6), which is OK since we depend on Java 7 now.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1610906 13f79535-47bb-0310-9956-ffa450edef68
2014-07-16 03:11:45 +00:00
Benedikt Ritter ed65e66f69 Use StandardCharsets class in user guide code examples, since it is more save than passing a string
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1610786 13f79535-47bb-0310-9956-ffa450edef68
2014-07-15 18:02:02 +00:00
Benedikt Ritter f4e1197bdc Use try-with-resource in examples
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1610781 13f79535-47bb-0310-9956-ffa450edef68
2014-07-15 17:58:49 +00:00
Benedikt Ritter d6de8062b5 Revert Java 7 diamond notation since JavaNCSS can't handle it
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1610772 13f79535-47bb-0310-9956-ffa450edef68
2014-07-15 17:52:53 +00:00
Benedikt Ritter 5e60966b56 Use 4 spaces indentation in examples
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1610770 13f79535-47bb-0310-9956-ffa450edef68
2014-07-15 17:46:07 +00:00
Benedikt Ritter 8fdcb3da11 Remove needless method
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1610769 13f79535-47bb-0310-9956-ffa450edef68
2014-07-15 17:42:06 +00:00
Benedikt Ritter 4623756644 Elaborate on the difference between line number and record number
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1610768 13f79535-47bb-0310-9956-ffa450edef68
2014-07-15 17:33:50 +00:00
Benedikt Ritter 4428b575e8 Document format of CSVPrinter.toString
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1610766 13f79535-47bb-0310-9956-ffa450edef68
2014-07-15 17:30:18 +00:00
Benedikt Ritter 4144674588 Clearify the meaning of isConsistent
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1610761 13f79535-47bb-0310-9956-ffa450edef68
2014-07-15 17:17:04 +00:00
Benedikt Ritter fed4161acc Make clear that users don't need to call println() after calling printRecord()
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1610758 13f79535-47bb-0310-9956-ffa450edef68
2014-07-15 17:12:31 +00:00
Benedikt Ritter 225cbe9574 Document how the pintRecord(s) methods work
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1610502 13f79535-47bb-0310-9956-ffa450edef68
2014-07-14 19:56:19 +00:00
Benedikt Ritter 040c2606eb Rename withCommentStart to withCommentMarker to avoid confusion because there is no corresponding withCommentStop method
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1610494 13f79535-47bb-0310-9956-ffa450edef68
2014-07-14 19:34:56 +00:00
Benedikt Ritter bb54feb7cd Clearify handling of record separators and remove senseless validation
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1610492 13f79535-47bb-0310-9956-ffa450edef68
2014-07-14 19:30:37 +00:00
Benedikt Ritter f51f89828d Use is prefix for getters that return booleans
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1610490 13f79535-47bb-0310-9956-ffa450edef68
2014-07-14 19:25:03 +00:00
Benedikt Ritter 6eac37b28d Fix typo
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1610486 13f79535-47bb-0310-9956-ffa450edef68
2014-07-14 19:10:56 +00:00
Benedikt Ritter 07fa2fd0d6 Make JavaDoc more readable and clear up field values of CSVFormats
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1610485 13f79535-47bb-0310-9956-ffa450edef68
2014-07-14 19:07:28 +00:00
Benedikt Ritter 83df300f6c Correct JavaDoc that was pointing to method parseFile which has moved to the Parser
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1610473 13f79535-47bb-0310-9956-ffa450edef68
2014-07-14 18:02:09 +00:00
Benedikt Ritter 13f5a0a63c Document Java version requirements correctly
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1610471 13f79535-47bb-0310-9956-ffa450edef68
2014-07-14 17:55:09 +00:00
Benedikt Ritter 649022fadd Activate test coverage report
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1610151 13f79535-47bb-0310-9956-ffa450edef68
2014-07-13 09:50:14 +00:00
Benedikt Ritter 17ab151667 Fix typo
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1609777 13f79535-47bb-0310-9956-ffa450edef68
2014-07-11 19:24:23 +00:00
Benedikt Ritter f5640d1f00 Define RAT exclusions for test data
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1609776 13f79535-47bb-0310-9956-ffa450edef68
2014-07-11 19:23:56 +00:00
Benedikt Ritter a29402b41c Add new user guide (missed that in the last commit)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1609772 13f79535-47bb-0310-9956-ffa450edef68
2014-07-11 19:07:31 +00:00
Benedikt Ritter 0c2cdcad18 Work some more on the website
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1609771 13f79535-47bb-0310-9956-ffa450edef68
2014-07-11 19:06:51 +00:00
Benedikt Ritter f33baa4594 Add CSV-122 to RELEASE-NOTES.txt
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1609769 13f79535-47bb-0310-9956-ffa450edef68
2014-07-11 18:44:30 +00:00
Benedikt Ritter b67524da7f CSV-122: NullPointerException when empty header string and and null string of "". Thanks to Mike Lewis.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1609768 13f79535-47bb-0310-9956-ffa450edef68
2014-07-11 18:42:48 +00:00
Benedikt Ritter d3afa156e4 Prepare website for 1.0 release
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1609554 13f79535-47bb-0310-9956-ffa450edef68
2014-07-10 19:15:53 +00:00
Benedikt Ritter 4117bb493f Make Checkstyle happy
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1609552 13f79535-47bb-0310-9956-ffa450edef68
2014-07-10 19:06:44 +00:00
Benedikt Ritter 43560d92ec Make sure only record separators we can handle are used
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1609548 13f79535-47bb-0310-9956-ffa450edef68
2014-07-10 18:30:29 +00:00
Benedikt Ritter b7cd1ae225 Document that we can only handle CR, LF and CRLF as record separator
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1609498 13f79535-47bb-0310-9956-ffa450edef68
2014-07-10 16:42:38 +00:00
Gary D. Gregory 0e8811ddb7 Document how to handle BOMs. See also [CSV-107] CSVFormat.EXCEL.parse should handle byte order marks.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1606616 13f79535-47bb-0310-9956-ffa450edef68
2014-06-30 01:42:46 +00:00
Sebastian Bazley 3294ed6721 CSV-117 Validate format parameters in constructor
Oops - another test case needs fixing

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1603991 13f79535-47bb-0310-9956-ffa450edef68
2014-06-19 18:24:36 +00:00
Sebastian Bazley 3cd50672f7 CSV-117 Validate format parameters in constructor
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1603967 13f79535-47bb-0310-9956-ffa450edef68
2014-06-19 17:28:22 +00:00
Sebastian Bazley f4cc9a928f Charset cannot be null
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1603965 13f79535-47bb-0310-9956-ffa450edef68
2014-06-19 17:25:32 +00:00
Gary D. Gregory fcaa26799a Revert previous commit.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1603206 13f79535-47bb-0310-9956-ffa450edef68
2014-06-17 15:50:53 +00:00