Toggle navigation
Home
java.util.Map<java.lang.String, java.lang.String> to org.elasticsearch.common.settings.Settings
No. of Instances - 7
No. of Commits - 2
No. of Projects - {'sonarqube', 'graylog2-server'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Jdk -> External
Mapping:
Add or Remove Method invocation
Boolean.toString(defaultConfig.isMasterNode())
to
defaultConfig.isDataNode()
nodeSettings.get("node.master")
to
nodeSettings.getAsBoolean("node.data",false)
Boolean.toString(defaultConfig.isDataNode())
to
defaultConfig.isMasterNode()
nodeSettings.get("node.data")
to
nodeSettings.getAsBoolean("node.master",false)
Boolean.toString(defaultConfig.isHttpEnabled())
to
defaultConfig.isMulticastDiscovery()
nodeSettings.get("http.enabled")
to
nodeSettings.getAsBoolean("discovery.zen.ping.multicast.enabled",false)
String.valueOf(defaultConfig.getTransportTcpPort())
to
defaultConfig.isHttpEnabled()
nodeSettings.get("transport.tcp.port")
to
nodeSettings.getAsBoolean("http.enabled",false)
Boolean.toString(defaultConfig.isMulticastDiscovery())
to
defaultConfig.getTransportTcpPort()
nodeSettings.get("discovery.zen.ping.multicast.enabled")
to
nodeSettings.getAsInt("transport.tcp.port",0).intValue()
Splitter
to
nodeSettings.getAsArray("discovery.zen.ping.unicast.hosts")
getAsMap
to
build
Rename Method invocation
remove
to
get
Cascading Type Change (Similar)
Map<String,String>
to
Settings
Rename Variable
map
to
settings
map
to
settings
map
to
settings