noblepaul commented on a change in pull request #644:
URL: https://github.com/apache/solr/pull/644#discussion_r808533716



##########
File path: 
solr/core/src/java/org/apache/solr/cloud/overseer/CollectionMutator.java
##########
@@ -55,7 +55,8 @@ public ZkWriteCommand createShard(final ClusterState 
clusterState, ZkNodeProps m
     DocCollection collection = clusterState.getCollection(collectionName);
     Slice slice = collection.getSlice(shardId);
     if (slice == null) {
-      Map<String, Replica> replicas = Collections.emptyMap();
+      @SuppressWarnings({"unchecked"})
+      Map<String, Replica> replicas = Collections.EMPTY_MAP;

Review comment:
       that was a merge issue




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to