diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 09b60e51..ab5d7d66 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -44,7 +44,7 @@
Add CSVPrinter.getRecordCount().
- Add and use CSVParser.Builder and builder().
+ Add and use CSVParser.Builder and builder() and deprecate CSVParser constructors.
Bump org.apache.commons:commons-parent from 76 to 78 #486, #495.
Bump org.codehaus.mojo:taglist-maven-plugin from 3.1.0 to 3.2.1 #493.
diff --git a/src/main/java/org/apache/commons/csv/CSVParser.java b/src/main/java/org/apache/commons/csv/CSVParser.java
index 14e2a778..f0341cf7 100644
--- a/src/main/java/org/apache/commons/csv/CSVParser.java
+++ b/src/main/java/org/apache/commons/csv/CSVParser.java
@@ -476,7 +476,9 @@ public final class CSVParser implements Iterable, Closeable {
* @throws IOException
* If there is a problem reading the header or skipping the first record
* @throws CSVException Thrown on invalid input.
+ * @deprecated Will be removed in the next major version, use {@link Builder#get()}.
*/
+ @Deprecated
public CSVParser(final Reader reader, final CSVFormat format) throws IOException {
this(reader, format, 0, 1);
}
@@ -503,7 +505,9 @@ public final class CSVParser implements Iterable, Closeable {
* If there is a problem reading the header or skipping the first record
* @throws CSVException Thrown on invalid input.
* @since 1.1
+ * @deprecated Will be private in the next major version, use {@link Builder#get()}.
*/
+ @Deprecated
@SuppressWarnings("resource")
public CSVParser(final Reader reader, final CSVFormat format, final long characterOffset, final long recordNumber)
throws IOException {