Toggle navigation
Home
java.net.URI to java.net.URL
No. of Instances - 121
No. of Commits - 4
No. of Projects - {'redisson', 'j2objc', 'mpush'}
Hierarchy/Composition: SIBLING
Primitive Info: -
NameSpace: Jdk -> Jdk
Mapping:
Cascading Type Change (Similar)
URI
to
URL
URI
to
URL
Rename Variable
uri
to
url
uri
to
url
uri
to
url
uri
to
url
uri
to
url
uri
to
url
uri
to
url
uri
to
url
uri
to
url
uri
to
url
uri
to
url
uri
to
url
uri
to
url
uri
to
url
uri
to
url
uri
to
url
uri
to
url
uri
to
url
uri
to
url
uri
to
url
uri
to
url
uri
to
url
uri
to
url
uri
to
url
uri
to
url
uri
to
url
uri
to
url
uri
to
url
uri
to
url
uri
to
url
uri
to
url
uri
to
url
uri
to
url
uri
to
url
uri
to
url
uri
to
url
uri
to
url
uri
to
url
uri
to
url
uri
to
url
uri
to
url
uri
to
url
uri
to
url
uri
to
url
uri
to
url
uri
to
url
Cascading Type Change (Different)
List<URI>
to
List<URL>
Set<URI>
to
Set<URL>
HashSet<URI>
to
HashSet<URL>
Add or Remove Method invocation
GlobalEventExecutor.INSTANCE.schedule(new Runnable(){ @Override public void run(){ AtomicReference<Throwable> lastException=new AtomicReference<Throwable>(); Iterator<URI> nodesIterator=iterator; if (nodesIterator == null) { List<URL> nodes=new ArrayList<URL>(); List<URL> slaves=new ArrayList<URL>(); for ( ClusterPartition partition : getLastPartitions()) { if (!partition.isMasterFail()) { nodes.add(partition.getMasterAddress()); } Set<URL> partitionSlaves=new HashSet<URL>(partition.getSlaveAddresses()); partitionSlaves.removeAll(partition.getFailedSlaveAddresses()); slaves.addAll(partitionSlaves); } nodes.addAll(slaves); nodesIterator=nodes.iterator(); } checkClusterState(cfg,nodesIterator,lastException); } } ,cfg.getScanInterval(),TimeUnit.MILLISECONDS)
to
GlobalEventExecutor.INSTANCE.schedule(new Runnable(){ @Override public void run(){ AtomicReference<Throwable> lastException=new AtomicReference<Throwable>(); Iterator<URL> nodesIterator=iterator; if (nodesIterator == null) { List<URL> nodes=new ArrayList<URL>(); List<URL> slaves=new ArrayList<URL>(); for ( ClusterPartition partition : getLastPartitions()) { if (!partition.isMasterFail()) { nodes.add(partition.getMasterAddress()); } Set<URL> partitionSlaves=new HashSet<URL>(partition.getSlaveAddresses()); partitionSlaves.removeAll(partition.getFailedSlaveAddresses()); slaves.addAll(partitionSlaves); } nodes.addAll(slaves); nodesIterator=nodes.iterator(); } checkClusterState(cfg,nodesIterator,lastException); } } ,cfg.getScanInterval(),TimeUnit.MILLISECONDS)