We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ff8e45 commit cb7ae4dCopy full SHA for cb7ae4d
modules/ingest-common/src/main/java/org/elasticsearch/ingest/common/CefParser.java
@@ -8,6 +8,7 @@
8
*/
9
package org.elasticsearch.ingest.common;
10
11
+import org.elasticsearch.common.Strings;
12
import org.elasticsearch.common.network.NetworkAddress;
13
import org.elasticsearch.common.time.DateFormatters;
14
import org.elasticsearch.core.Nullable;
@@ -508,7 +509,7 @@ private static String insertMACSeparators(String v) {
508
509
}
510
511
private static void removeEmptyValue(Map<String, String> map) {
- map.entrySet().removeIf(entry -> Objects.isNull(entry.getValue()) || entry.getValue().isEmpty());
512
+ map.values().removeIf(Strings::isEmpty);
513
514
515
private static String convertArrayLikeKey(String key) {
0 commit comments