Remove unnecessary warning suppression

This commit is contained in:
Ryan Ernst 2016-07-11 14:20:47 -07:00
parent 05ea943def
commit 6b4d0001a2
1 changed files with 0 additions and 1 deletions

View File

@ -195,7 +195,6 @@ public class Node implements Closeable {
this(InternalSettingsPreparer.prepareEnvironment(preparedSettings, null), Collections.<Class<? extends Plugin>>emptyList());
}
@SuppressWarnings("unchecked")
protected Node(Environment tmpEnv, Collection<Class<? extends Plugin>> classpathPlugins) {
Settings tmpSettings = Settings.builder().put(tmpEnv.settings())
.put(Client.CLIENT_TYPE_SETTING_S.getKey(), CLIENT_TYPE).build();