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:
Shalin Shekhar Mangar 2014-10-13 13:06:32 +00:00
parent 3a9b98e64a
commit 5f002f0f66
1 changed files with 1 additions and 1 deletions

View File

@ -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