remove compile warnings
This commit is contained in:
parent
b55fd0c0fc
commit
c1ab9f290f
|
@ -196,7 +196,7 @@ public class TransportNodesShutdownAction extends TransportMasterNodeOperationAc
|
|||
// ignore
|
||||
}
|
||||
|
||||
logger.info("[partial_cluster_shutdown]: done shutting down [{}]", nodesIds);
|
||||
logger.info("[partial_cluster_shutdown]: done shutting down [{}]", ((Object) nodesIds));
|
||||
}
|
||||
});
|
||||
t.start();
|
||||
|
|
|
@ -151,7 +151,7 @@ public class XContentAttachmentMapper implements XContentMapper {
|
|||
*/
|
||||
public static class TypeParser implements XContentTypeParser {
|
||||
|
||||
@Override public XContentMapper.Builder parse(String name, Map<String, Object> node, ParserContext parserContext) throws MapperParsingException {
|
||||
@SuppressWarnings({"unchecked"}) @Override public XContentMapper.Builder parse(String name, Map<String, Object> node, ParserContext parserContext) throws MapperParsingException {
|
||||
XContentAttachmentMapper.Builder builder = new XContentAttachmentMapper.Builder(name);
|
||||
|
||||
for (Map.Entry<String, Object> entry : node.entrySet()) {
|
||||
|
|
Loading…
Reference in New Issue