Skip to content

Commit c2f46df

Browse files
committed
[CSV-184] Make the method CSVRecord#putIn(Map) public.
1 parent ea7ffd7 commit c2f46df

3 files changed

Lines changed: 8 additions & 6 deletions

File tree

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<version>50</version>
2424
</parent>
2525
<artifactId>commons-csv</artifactId>
26-
<version>1.8.1-SNAPSHOT</version>
26+
<version>1.9-SNAPSHOT</version>
2727
<name>Apache Commons CSV</name>
2828
<url>https://commons.apache.org/proper/commons-csv/</url>
2929
<description>The Apache Commons CSV library provides a simple interface for reading and writing CSV files of various types.</description>
@@ -137,11 +137,11 @@
137137
</distributionManagement>
138138

139139
<properties>
140-
<commons.release.version>1.8</commons.release.version>
140+
<commons.release.version>1.9</commons.release.version>
141141
<commons.release.desc>(Java 8)</commons.release.desc>
142142
<!-- The RC version used in the staging repository URL. -->
143143
<commons.rc.version>RC2</commons.rc.version>
144-
<commons.bc.version>1.7</commons.bc.version>
144+
<commons.bc.version>1.8</commons.bc.version>
145145
<commons.componentid>csv</commons.componentid>
146146
<commons.module.name>org.apache.commons.csv</commons.module.name>
147147
<commons.jira.id>CSV</commons.jira.id>

src/changes/changes.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,14 @@
3838
<title>Apache Commons CSV Release Notes</title>
3939
</properties>
4040
<body>
41-
<release version="1.8.1" date="2020-MM-DD" description="Bug fix release (Java 8)">
41+
<release version="1.9" date="2020-MM-DD" description="Bug fix release (Java 8)">
4242
<action type="add" dev="ggregory" due-to="dota17">Add testcases for CSVRecord with get(Enum) and toString. #54.</action>
4343
<action type="update" dev="ggregory" due-to="Amey Jadiye">Replace FindBugs with SpotBugs #56.</action>
4444
<action type="update" dev="ggregory" due-to="Chen">Javadoc typo in CSVFormat let's -> lets #57.</action>
4545
<action issue="CSV-259" type="fix" dev="ggregory" due-to="Chen">CSVFormat.printWithEscapes throws StringIndexOutOfBoundsException when value is Reader #61.</action>
4646
<action type="update" dev="ggregory" due-to="Gary Gregory">org.mockito:mockito-core 3.2.4 -> 3.3.3.</action>
47-
<action type="update" dev="ggregory" due-to="Gary Gregory">maven-pmd-plugin 3.12.0 -> 3.13.0.</action>
47+
<action issue="CSV-184" type="add" dev="ggregory" due-to="Gaurav Agarwal, M. Steiger, Gary Gregory">Make the method CSVRecord#putIn(Map) public.</action>
48+
Make the method CSVRecord#putIn(Map) public
4849
</release>
4950
<release version="1.8" date="2020-02-01" description="Feature and bug fix release (Java 8).
5051

src/main/java/org/apache/commons/csv/CSVRecord.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,8 +266,9 @@ public Iterator<String> iterator() {
266266
* @param map
267267
* The Map to populate.
268268
* @return the given map.
269+
* @since 1.9
269270
*/
270-
<M extends Map<String, String>> M putIn(final M map) {
271+
public <M extends Map<String, String>> M putIn(final M map) {
271272
if (getHeaderMapRaw() == null) {
272273
return map;
273274
}

0 commit comments

Comments
 (0)