We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99753f9 commit 6205225Copy full SHA for 6205225
core/src/main/java/org/mapfish/print/output/ValuesLogger.java
@@ -110,9 +110,7 @@ private void logValue(
110
} else {
111
// if the value for this key is null, let's take the next value so that we
112
// eventually get the type of the column
113
- if (columns.get(column.getKey()) == null) {
114
- columns.put(column.getKey(), column.getValue());
115
- }
+ columns.computeIfAbsent(column.getKey(), k -> column.getValue());
116
}
117
118
0 commit comments