mirror of https://github.com/apache/lucene.git
Use diamond operator
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1631375 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3a9b98e64a
commit
5f002f0f66
|
@ -2021,7 +2021,7 @@ public final class ZkController {
|
|||
log.warn(exc.getMessage(), exc);
|
||||
}
|
||||
if (stateObj == null)
|
||||
stateObj = new LinkedHashMap<String,Object>();
|
||||
stateObj = new LinkedHashMap<>();
|
||||
|
||||
stateObj.put("state", state);
|
||||
// only update the createdBy value if its not set
|
||||
|
|
Loading…
Reference in New Issue