remove compile warnings

This commit is contained in:
kimchy 2010-07-22 00:25:25 +03:00
parent b55fd0c0fc
commit c1ab9f290f
2 changed files with 2 additions and 2 deletions

View File

@ -196,7 +196,7 @@ public class TransportNodesShutdownAction extends TransportMasterNodeOperationAc
// ignore // ignore
} }
logger.info("[partial_cluster_shutdown]: done shutting down [{}]", nodesIds); logger.info("[partial_cluster_shutdown]: done shutting down [{}]", ((Object) nodesIds));
} }
}); });
t.start(); t.start();

View File

@ -151,7 +151,7 @@ public class XContentAttachmentMapper implements XContentMapper {
*/ */
public static class TypeParser implements XContentTypeParser { 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); XContentAttachmentMapper.Builder builder = new XContentAttachmentMapper.Builder(name);
for (Map.Entry<String, Object> entry : node.entrySet()) { for (Map.Entry<String, Object> entry : node.entrySet()) {