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
|
||||
*/
|
||||
public <M extends Map<String, String>> M putIn(final M map) {
|
||||
final Map<String, Integer> rawHeaderMap = getHeaderMapRaw();
|
||||
if (rawHeaderMap == null) {
|
||||
if (getHeaderMapRaw() == null) {
|
||||
return map;
|
||||
}
|
||||
rawHeaderMap.forEach((key, value) -> {
|
||||
getHeaderMapRaw().forEach((key, value) -> {
|
||||
if (value < values.length) {
|
||||
map.put(key, values[value]);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue