Rollback var extraction
This commit is contained in:
parent
1da5a8b089
commit
d3ef84e248
|
@ -267,11 +267,10 @@ public final class CSVRecord implements Serializable, Iterable<String> {
|
||||||
* @since 1.9.0
|
* @since 1.9.0
|
||||||
*/
|
*/
|
||||||
public <M extends Map<String, String>> M putIn(final M map) {
|
public <M extends Map<String, String>> M putIn(final M map) {
|
||||||
final Map<String, Integer> rawHeaderMap = getHeaderMapRaw();
|
if (getHeaderMapRaw() == null) {
|
||||||
if (rawHeaderMap == null) {
|
|
||||||
return map;
|
return map;
|
||||||
}
|
}
|
||||||
rawHeaderMap.forEach((key, value) -> {
|
getHeaderMapRaw().forEach((key, value) -> {
|
||||||
if (value < values.length) {
|
if (value < values.length) {
|
||||||
map.put(key, values[value]);
|
map.put(key, values[value]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue