diff --git a/src/main/java/org/apache/commons/csv/CSVFormat.java b/src/main/java/org/apache/commons/csv/CSVFormat.java index 7c7097fd..161062f9 100644 --- a/src/main/java/org/apache/commons/csv/CSVFormat.java +++ b/src/main/java/org/apache/commons/csv/CSVFormat.java @@ -34,6 +34,8 @@ import java.io.StringWriter; * The format specification of a CSV file. * * This class is immutable. + * + * @version $Id: $ */ public class CSVFormat implements Serializable { diff --git a/src/main/java/org/apache/commons/csv/CSVLexer.java b/src/main/java/org/apache/commons/csv/CSVLexer.java index 57574e3b..e5c5f6ad 100644 --- a/src/main/java/org/apache/commons/csv/CSVLexer.java +++ b/src/main/java/org/apache/commons/csv/CSVLexer.java @@ -25,6 +25,11 @@ import static org.apache.commons.csv.Token.Type.TOKEN; import java.io.IOException; +/** + * + * + * @version $Id$ + */ final class CSVLexer extends Lexer { /** ctor needs to be public so can be called dynamically by PerformanceTest class */ diff --git a/src/main/java/org/apache/commons/csv/CSVParser.java b/src/main/java/org/apache/commons/csv/CSVParser.java index 0e6115e0..69550d69 100644 --- a/src/main/java/org/apache/commons/csv/CSVParser.java +++ b/src/main/java/org/apache/commons/csv/CSVParser.java @@ -65,6 +65,8 @@ import java.util.NoSuchElementException; *
* see package documentation for more details *
+ * + * @version $Id: $ */ public class CSVParser implements Iterable* In particular the reader supports a look-ahead option, which allows you to see the next char returned by * {@link #read()}. + * + * @version $Id: $ */ final class ExtendedBufferedReader extends BufferedReader { diff --git a/src/main/java/org/apache/commons/csv/Lexer.java b/src/main/java/org/apache/commons/csv/Lexer.java index 51acac41..fb75367a 100644 --- a/src/main/java/org/apache/commons/csv/Lexer.java +++ b/src/main/java/org/apache/commons/csv/Lexer.java @@ -29,6 +29,8 @@ import java.io.IOException; /** * Abstract lexer class; contains common utility routines shared by lexers + * + * @version $Id$ */ abstract class Lexer { diff --git a/src/main/java/org/apache/commons/csv/Quote.java b/src/main/java/org/apache/commons/csv/Quote.java index 608c41ea..e8c23564 100644 --- a/src/main/java/org/apache/commons/csv/Quote.java +++ b/src/main/java/org/apache/commons/csv/Quote.java @@ -18,6 +18,8 @@ package org.apache.commons.csv; /** * Defines quote behavior when printing. + * + * @version $Id$ */ public enum Quote { diff --git a/src/main/java/org/apache/commons/csv/Token.java b/src/main/java/org/apache/commons/csv/Token.java index 9d61313f..b354b351 100644 --- a/src/main/java/org/apache/commons/csv/Token.java +++ b/src/main/java/org/apache/commons/csv/Token.java @@ -23,6 +23,8 @@ import static org.apache.commons.csv.Token.Type.INVALID; * Internal token representation. *
* It is used as contract between the lexer and the parser. + * + * @version $Id$ */ final class Token { diff --git a/src/test/java/org/apache/commons/csv/CSVFileParserTest.java b/src/test/java/org/apache/commons/csv/CSVFileParserTest.java index 788dba14..18eaa180 100644 --- a/src/test/java/org/apache/commons/csv/CSVFileParserTest.java +++ b/src/test/java/org/apache/commons/csv/CSVFileParserTest.java @@ -40,6 +40,7 @@ import org.junit.runners.Parameterized.Parameters; /** * Parse tests using test files * + * @version $Id$ */ @RunWith(Parameterized.class) public class CSVFileParserTest { diff --git a/src/test/java/org/apache/commons/csv/CSVFormatTest.java b/src/test/java/org/apache/commons/csv/CSVFormatTest.java index f6884c19..b5992a51 100644 --- a/src/test/java/org/apache/commons/csv/CSVFormatTest.java +++ b/src/test/java/org/apache/commons/csv/CSVFormatTest.java @@ -31,6 +31,11 @@ import java.io.ObjectOutputStream; import org.junit.Test; +/** + * + * + * @version $Id: $ + */ public class CSVFormatTest { @Test diff --git a/src/test/java/org/apache/commons/csv/CSVLexer1.java b/src/test/java/org/apache/commons/csv/CSVLexer1.java index 780d7bfb..be0f8028 100644 --- a/src/test/java/org/apache/commons/csv/CSVLexer1.java +++ b/src/test/java/org/apache/commons/csv/CSVLexer1.java @@ -24,6 +24,11 @@ import static org.apache.commons.csv.Token.Type.TOKEN; import java.io.IOException; +/** + * + * + * @version $Id$ + */ class CSVLexer1 extends Lexer { private final StringBuilder wsBuf = new StringBuilder(); diff --git a/src/test/java/org/apache/commons/csv/CSVLexer1306663.java b/src/test/java/org/apache/commons/csv/CSVLexer1306663.java index ecbf75d5..460fa8d7 100644 --- a/src/test/java/org/apache/commons/csv/CSVLexer1306663.java +++ b/src/test/java/org/apache/commons/csv/CSVLexer1306663.java @@ -25,6 +25,11 @@ import static org.apache.commons.csv.Token.Type.TOKEN; import java.io.IOException; +/** + * + * + * @version $Id$ + */ class CSVLexer1306663 extends Lexer { // ctor needs to be public so can be called dynamically by PerformanceTest class diff --git a/src/test/java/org/apache/commons/csv/CSVLexer1306667.java b/src/test/java/org/apache/commons/csv/CSVLexer1306667.java index 0a651361..94370b1c 100644 --- a/src/test/java/org/apache/commons/csv/CSVLexer1306667.java +++ b/src/test/java/org/apache/commons/csv/CSVLexer1306667.java @@ -25,6 +25,11 @@ import static org.apache.commons.csv.Token.Type.TOKEN; import java.io.IOException; +/** + * + * + * @version $Id$ + */ class CSVLexer1306667 extends Lexer { // ctor needs to be public so can be called dynamically by PerformanceTest class diff --git a/src/test/java/org/apache/commons/csv/CSVLexer3.java b/src/test/java/org/apache/commons/csv/CSVLexer3.java index 967f18d3..2c71503c 100644 --- a/src/test/java/org/apache/commons/csv/CSVLexer3.java +++ b/src/test/java/org/apache/commons/csv/CSVLexer3.java @@ -31,6 +31,7 @@ import java.io.IOException; * Unfortunately it is twice as slow. * For reference purpose only. * + * @version $Id$ */ class CSVLexer3 extends Lexer { diff --git a/src/test/java/org/apache/commons/csv/CSVLexerTest.java b/src/test/java/org/apache/commons/csv/CSVLexerTest.java index 09c04f1a..c4493b50 100644 --- a/src/test/java/org/apache/commons/csv/CSVLexerTest.java +++ b/src/test/java/org/apache/commons/csv/CSVLexerTest.java @@ -31,6 +31,11 @@ import java.io.StringReader; import org.junit.Test; +/** + * + * + * @version $Id$ + */ public class CSVLexerTest { private Lexer getLexer(final String input, final CSVFormat format) { diff --git a/src/test/java/org/apache/commons/csv/CSVParserTest.java b/src/test/java/org/apache/commons/csv/CSVParserTest.java index fd67ef80..819eb1f5 100644 --- a/src/test/java/org/apache/commons/csv/CSVParserTest.java +++ b/src/test/java/org/apache/commons/csv/CSVParserTest.java @@ -51,6 +51,8 @@ import org.junit.Test; * section. In case a test fails, you should follow a top-down approach for * fixing a potential bug (its likely that the parser itself fails if the lexer * has problems...). + * + * @version $Id: $ */ public class CSVParserTest { diff --git a/src/test/java/org/apache/commons/csv/CSVPrinterTest.java b/src/test/java/org/apache/commons/csv/CSVPrinterTest.java index 83ac22b4..0d4d01f6 100644 --- a/src/test/java/org/apache/commons/csv/CSVPrinterTest.java +++ b/src/test/java/org/apache/commons/csv/CSVPrinterTest.java @@ -32,6 +32,11 @@ import java.util.Random; import org.junit.Test; +/** + * + * + * @version $Id: $ + */ public class CSVPrinterTest { public static String printable(final String s) { diff --git a/src/test/java/org/apache/commons/csv/ExtendedBufferedReaderTest.java b/src/test/java/org/apache/commons/csv/ExtendedBufferedReaderTest.java index 2214ce70..4759b62a 100644 --- a/src/test/java/org/apache/commons/csv/ExtendedBufferedReaderTest.java +++ b/src/test/java/org/apache/commons/csv/ExtendedBufferedReaderTest.java @@ -27,6 +27,11 @@ import java.io.StringReader; import org.junit.Test; +/** + * + * + * @version $Id: $ + */ public class ExtendedBufferedReaderTest { @Test diff --git a/src/test/java/org/apache/commons/csv/PerformanceTest.java b/src/test/java/org/apache/commons/csv/PerformanceTest.java index 18b136b4..2db8edb2 100644 --- a/src/test/java/org/apache/commons/csv/PerformanceTest.java +++ b/src/test/java/org/apache/commons/csv/PerformanceTest.java @@ -35,6 +35,7 @@ import org.apache.commons.io.IOUtils; * * Requires test file to be downloaded separately. * + * @version $Id$ */ @SuppressWarnings("boxing") public class PerformanceTest { diff --git a/src/test/java/org/apache/commons/csv/Utils.java b/src/test/java/org/apache/commons/csv/Utils.java index a4338f43..fce8c3e1 100644 --- a/src/test/java/org/apache/commons/csv/Utils.java +++ b/src/test/java/org/apache/commons/csv/Utils.java @@ -24,6 +24,8 @@ import org.junit.Assert; /** * Utility methods for test cases + * + * @version $Id$ */ public class Utils { diff --git a/src/test/java/org/apache/commons/csv/perf/PerformanceTest.java b/src/test/java/org/apache/commons/csv/perf/PerformanceTest.java index b99defdb..cddc1e23 100644 --- a/src/test/java/org/apache/commons/csv/perf/PerformanceTest.java +++ b/src/test/java/org/apache/commons/csv/perf/PerformanceTest.java @@ -39,6 +39,8 @@ import org.junit.Test; * Tests performance. * * To run this test, use: mvn test -Dtest=PeformanceTest + * + * @version $Id$ */ public class PerformanceTest {