Skip to content

Commit ffe75f8

Browse files
committed
Change Maps.newHashMap() to Maps.<String, Object>newHashMap()
Caused by elastic/elasticsearch#9992 (comment)
1 parent 2152215 commit ffe75f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/elasticsearch/river/couchdb/CouchdbRiver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public CouchdbRiver(RiverName riverName, RiverSettings settings, @RiverIndexName
143143
}
144144

145145
script = scriptService.executable(scriptType, couchSettings.get("script").toString(),
146-
ScriptService.ScriptType.INLINE, Maps.newHashMap());
146+
ScriptService.ScriptType.INLINE, Maps.<String, Object>newHashMap());
147147
} else {
148148
script = null;
149149
}

0 commit comments

Comments
 (0)