java.util.Set to java.util.List
No. of Instances - 39
No. of Commits - 18
No. of Projects - {'presto'}
Hierarchy/Composition: SIBLING
Primitive Info: -
NameSpace: Jdk -> Jdk
Mapping:
- Add or Remove Method invocation
 - tierAlias to dir.getStorageDirId()
 - Arrays.stream(mlt.getFieldNames()).forEach(fieldName -> { OElement element=oi.getRecord().load(); String property=element.getProperty(fieldName); try { Query fieldQuery=mlt.like(fieldName,new StringReader(property)); if (!fieldQuery.toString().isEmpty()) queryBuilder.add(fieldQuery,Occur.SHOULD); } catch ( IOException e) { e.printStackTrace(); } } ) to Arrays.stream(mlt.getFieldNames()).forEach(fieldName -> { String property=element.getProperty(fieldName); try { Query fieldQuery=mlt.like(fieldName,new StringReader(property)); if (!fieldQuery.toString().isEmpty()) queryBuilder.add(fieldQuery,Occur.SHOULD); } catch ( IOException e) { e.printStackTrace(); } } )
 - forEach to forEach
 - getLast(windowHandles) to windowHandles.get(windowHandles.size() - 1)
 - getLast(windowHandles) to windowHandles.get(windowHandles.size() - 1)
 - Collectors.toSet() to Collectors.toList()
 - unmodifiableSet(Schema.super.tables().map(ImmutableTable.class::cast).collect(toSet())) to unmodifiableList(Schema.super.tables().map(ImmutableTable.class::cast).collect(toList()))
 - unmodifiableSet(ForeignKey.super.foreignKeyColumns().map(ImmutableForeignKeyColumn.class::cast).collect(toSet())) to unmodifiableList(ForeignKey.super.foreignKeyColumns().map(ImmutableForeignKeyColumn.class::cast).collect(toList()))
 - unmodifiableSet(Table.super.indexes().map(ImmutableIndex.class::cast).collect(toSet())) to unmodifiableList(Table.super.indexes().map(ImmutableIndex.class::cast).collect(toList()))
 - unmodifiableSet(Table.super.columns().map(ImmutableColumn.class::cast).collect(toSet())) to unmodifiableList(Table.super.columns().map(ImmutableColumn.class::cast).collect(toList()))
 - unmodifiableSet(Index.super.indexColumns().map(ImmutableIndexColumn.class::cast).collect(toSet())) to unmodifiableList(Index.super.indexColumns().map(ImmutableIndexColumn.class::cast).collect(toList()))
 - unmodifiableSet(Dbms.super.schemas().map(ImmutableSchema.class::cast).collect(toSet())) to unmodifiableList(Dbms.super.schemas().map(ImmutableSchema.class::cast).collect(toList()))
 - unmodifiableSet(Table.super.foreignKeys().map(ImmutableForeignKey.class::cast).collect(toSet())) to unmodifiableList(Table.super.foreignKeys().map(ImmutableForeignKey.class::cast).collect(toList()))
 - unmodifiableSet(Project.super.dbmses().map(ImmutableDbms.class::cast).collect(toSet())) to unmodifiableList(Project.super.dbmses().map(ImmutableDbms.class::cast).collect(toList()))
 - unmodifiableSet(Table.super.primaryKeyColumns().map(ImmutablePrimaryKeyColumn.class::cast).collect(toSet())) to unmodifiableList(Table.super.primaryKeyColumns().map(ImmutablePrimaryKeyColumn.class::cast).collect(toList()))
 - dotGroup.getDotSet() to dotGroup.getDotList()
 - _optional.stream().map(expander).collect(Collectors.toSet()) to _optional.stream().map(expander).collect(Collectors.toList())
 - files.keySet() to alteredFiles.getAlteredFilesList()
 - stageSets.stream().flatMap(Collection::stream).map(Tuple2::v1).mapToInt(Stage::stage).distinct().toArray() to stageSets.stream().flatMap(Collection::stream).mapToInt(Stage::stage).distinct().toArray()
 - Seq.seq(stageSet).map(Tuple2::v1).groupBy(Stage::stage).keySet().size() to Seq.seq(stageSet).groupBy(Stage::stage).keySet().size()
 - Iterables.getOnlyElement(stages[0]).v1.stage() to Iterables.getOnlyElement(stages[0]).stage()
 - Iterables.getOnlyElement(stages[1]).v1.stage() to Iterables.getOnlyElement(stages[1]).stage()
 - template.getUsedVariables() to template.getUsedVariableDescriptions()
 - searchResponse.messages().stream().map(summary -> { if (requireAllFields && !usedVariables.stream().allMatch(variable -> summary.message().containsKey(variable))) { return summary; } final String formattedString=template.transform(summary.message(),Locale.ENGLISH); if (formattedString == null) { return summary; } final Message message=new Message(ImmutableMap.copyOf(summary.message())); message.addField(targetField,formattedString); return summary.toBuilder().message(message.getFields()).build(); } ).collect(Collectors.toList()) to searchResponse.messages().stream().map(summary -> { if (requireAllFields && !usedVariables.stream().allMatch(variable -> summary.message().containsKey(variable.name))) { return summary; } final String formattedString=template.transform(summary.message(),Locale.ENGLISH); if (formattedString == null) { return summary; } final Message message=new Message(ImmutableMap.copyOf(summary.message())); message.addField(targetField,formattedString); return summary.toBuilder().message(message.getFields()).build(); } ).collect(Collectors.toList())
 - triggers.getKey() to triggers.getValue()
 - context to triggers.getValue()
 - context to triggers.getValue()
 - triggers.getKey() to triggers.getValue()
 - Integer.valueOf(range) to rangeIterator
 - Collectors.toCollection(LinkedHashSet::new) to Collectors.toList()
 - get to exprs[idx].accept(new IndexedExprToFieldInfo(inputType,idx))
 - extractFieldInfosFromTupleType((CompositeType<?>)inputType,exprs) to extractFieldInfosByNameReference((CompositeType<?>)inputType,expressions)
 - extractFieldInfosByNameReference((CompositeType)inputType,exprs) to extractFieldInfoFromAtomicType(inputType,expressions)
 - extractFieldInfoFromAtomicType(exprs) to extractFieldInfosFromTupleType((TupleTypeInfoBase<?>)inputType,expressions)
 - Collectors.toCollection(LinkedHashSet::new) to Collectors.toList()
 - collect to collect
 - MoreObjects.toStringHelper(this).add("partitioningColumns",partitioningColumns).add("hashingOrder",hashingOrder).add("replicateNulls",replicateNulls) to MoreObjects.toStringHelper(this).add("partitioningHandle",partitioningHandle).add("partitioningColumns",partitioningColumns)
 - collectingAndThen(Collectors.toSet(),Collections::unmodifiableSet) to collectingAndThen(Collectors.toList(),Collections::unmodifiableList)
 - ImmutableSet to ImmutableList.builder()
 - inputShards to extractIndexes(inputShards,0,1,2)
 - assertEquals(map.keySet(),keys) to assertEquals(ImmutableList.copyOf(map.entrySet()::iterator).stream().map(Entry::getKey).collect(toImmutableList()),keys)
 - assertEquals(map.values(),expectedMap.values()) to assertEquals(ImmutableList.copyOf(map.entrySet()::iterator).stream().map(Entry::getKey).collect(toImmutableList()),keys)
 - assertEquals(map.entrySet(),expectedMap.entrySet()) to assertEquals(ImmutableList.copyOf(map.entrySet()::iterator).stream().map(Entry::getKey).collect(toImmutableList()),keys)
 - stream(SPLITTER.split(types)).map(AuthenticationType::valueOf).collect(toImmutableSet()) to stream(SPLITTER.split(types)).map(AuthenticationType::valueOf).collect(toImmutableList())
 - toImmutableSet() to toImmutableList()
 - groupingSets to IntStream.rangeClosed(0,rollup.size())
 - groupingSets.stream() to IntStream
 - String.format("Node Labels: %s",StringUtils.join(sortStrSet(nodeLabels).iterator(),",")) to String.format("Node Labels: %s",StringUtils.join(nodeLabels.iterator(),","))
 - attrs.get(gpu).size() to attrs.get(gpu.getAttributeKey()).size()
 - attrs.get(dist).contains(node1) to findHostnameAndValInMapping(node1,"3_0_2",attrs.get(dist.getAttributeKey()))
 - attrs.get(dist).contains(node2) to findHostnameAndValInMapping(node2,"3_0_2",attrs.get(dist.getAttributeKey()))
 - attrs.get(docker).contains(node2) to findHostnameAndValInMapping(node2,"docker0",attrs.get(docker.getAttributeKey()))
 - user.getLogin() to user.getId()
 - selectPermissionsByLogin to selectProjectPermissionsOfUser
 - collect to selectByIds
 - toHashSet(items.size()) to toArrayList(items.size())
 - bulkIndexer.addDeletion(RuleIndexDefinition.INDEX_TYPE_RULE,r.toString()) to bulkIndexer.addDeletion(RuleIndexDefinition.INDEX_TYPE_RULE,r.toString(),r.toString())
 - bulkIndexer.addDeletion(RuleIndexDefinition.INDEX_TYPE_RULE_EXTENSION,r.toString()) to bulkIndexer.addDeletion(RuleIndexDefinition.INDEX_TYPE_RULE_EXTENSION,RuleExtensionDoc.idOf(r,RuleExtensionScope.system()),r.toString())
 - componentRootUuids to getComponentsFromUuids(session,componentUuids)
 - convertComponentKeysToUuids(session,componentRoots) to getComponentsFromUuids(session,componentRootUuids)
 - convertComponentKeysToUuids(session,components) to getComponentsFromKeys(session,components,branch)
 - componentUuids to getComponentsFromKeys(session,componentKeys,branch)
 - convertComponentKeysToUuids(session,componentKeys) to getComponentsFromKeys(session,componentRoots,branch)
 - confusionSet.getUppercaseFirstCharSet() to confusionPair.getUppercaseFirstCharTerms()
 - confusionSet.getSet() to confusionPair.getTerms()
 - Rename Variable
 - mBlockIdsOnTiers to mBlockIdsOnDirs
 - mBlockIdsOnTiers to mBlockIdsOnDirs
 - blockWorkers to updatedInfos
 - requestedKeys to owners
 - asSetWithoutDuplicatesAccordingToComparisonStrategy to asListWithoutDuplicatesAccordingToComparisonStrategy
 - notFound to list
 - set to list
 - set to list
 - set to list
 - set to list
 - setFromIterable to asListWithoutDuplicatesAccordingToComparisonStrategy
 - targetApplicationSet to targetApplicationList
 - dotSet to dotList
 - dotSet to dotList
 - dotSet to dotList
 - dotSet to dotList
 - getPackages to parsePackageInfo
 - serviceProviderClassNameSet to providersList
 - userRoles to userRolesNameDn
 - seekHintFilter to seekHintFilters
 - seekHintFilter to seekHintFilters
 - seekHintFilter to seekHintFilters
 - seekHintFilter to seekHintFilters
 - seekHintFilter to seekHintFilters
 - waitingSet to waitingTimeoutList
 - waitingSet to waitingTimeoutList
 - projectClassPath to resolvedClassPaths
 - projectClassPath to projectClasspath
 - protocolClaimMappings to protocolMappers
 - protocolClaimMappings to protocolMappers
 - allMappers to storageProviders
 - orderedSet to orderedList
 - orderedSet to orderedList
 - toRemove to toTrigger
 - toRemove to toTrigger
 - finalSet to iterators
 - sourceIds to remoteSourceNodes
 - sourceIds to remoteSourceNodes
 - getPartitionKeysSet to getPartitionKeysList
 - getPartitionKeysSet to getPartitionKeysList
 - getPartitionKeysSet to getPartitionKeysList
 - distinctGroupingColumns to sets
 - result to groups
 - keys to keyBlocksInfoList
 - keys to infoList
 - syntaxHighlightingRuleSet to syntaxHighlightingRules
 - syntaxHighlightingRuleSet to syntaxHighlightingRules
 - syntaxHighlightingRuleSet to syntaxHighlightingRules
 - syntaxHighlightingRuleSet to syntaxHighlightingRules
 - selectUserPermissions to selectProjectPermissionsOfUser
 - rules to ruleKeys
 - rules to ruleKeys
 - rules to ruleKeys
 - allComponentUuids to allComponents
 - allComponentUuids to allComponents
 - allComponentUuids to allComponents
 - allComponentUuids to allComponents
 - allComponentUuids to allComponents
 - allComponentUuids to allComponents
 - allComponentUuids to allComponents
 - allComponentUuids to allComponents
 - wordsToBeIgnored to result
 - wordsToBeIgnored to result
 - wordsToBeIgnored to result
 - wordsToBeIgnored to result
 - wordsToBeIgnored to result
 - wordsToBeIgnored to result
 - wordsToBeIgnored to result
 - wordsToBeIgnored to result
 - wordsToBeIgnored to result
 - their to confStrings
 - set to pairs
 - set to pairs
 - set to pairs
 - Other
 - mDirs to mDirs
 - syncs to syncs
 - result to result
 - Optional::isPresent to inputType
 - (CompositeType)inputType to (CompositeType<?>)inputType
 - Sets.powerSet(columns.stream().map(QualifiedNameReference::new).collect(toSet())) to Sets.powerSet(columns.stream().map(QualifiedNameReference::new).collect(toSet()))
 - partitionColumnValues.build() to partitionColumnValues.build()
 - Arrays.asList(urls) to Arrays.asList(urls)
 - Rename Method invocation
 - unmodifiableSet to unmodifiableList
 - unmodifiableSet to unmodifiableList
 - unmodifiableSet to unmodifiableList
 - unmodifiableSet to unmodifiableList
 - unmodifiableSet to unmodifiableList
 - unmodifiableSet to unmodifiableList
 - unmodifiableCollection to unmodifiableList
 - unmodifiableSet to unmodifiableList
 - unmodifiableSet to unmodifiableList
 - unmodifiableSet to unmodifiableList
 - unmodifiableSet to unmodifiableList
 - emptySet to emptyList
 - emptySet to emptyList
 - setProtocolClaimMappings to setProtocolMappers
 - getUserFederationMappers to getUserStorageProviders
 - getQueues to getQueuesMap
 - deleteBlocks to deleteKeyBlocks
 - containsOnly to containsExactly
 - containsOnly to containsExactly
 - routeEndpoints.stream().map(ReadWriteRouteEndPoint::address).sorted() to routeEndpoints.stream().map(ReadWriteRouteEndPoint::address)
 - readEndpoints.stream().map(ReadWriteRouteEndPoint::address).sorted() to readEndpoints.stream().map(ReadWriteRouteEndPoint::address)
 - writeEndpoints.stream().map(ReadWriteRouteEndPoint::address).sorted() to writeEndpoints.stream().map(ReadWriteRouteEndPoint::address)
 - Cascading Type Change (Different)
 - HashSet<> to ArrayList<>
 - HashSet<> to ArrayList<>
 - HashSet<> to ArrayList<>
 - HashSet<> to ArrayList<>
 - HashSet<> to ArrayList<>
 - HashSet<> to ArrayList<>
 - HashSet<> to ArrayList<>
 - LinkedHashSet<> to CopyOnWriteArrayList<>
 - HashSet<ServletMapping> to ArrayList<ServletMapping>
 - HashSet<> to ArrayList<>
 - HashSet<> to ArrayList<>
 - ImmutableSet.Builder<PlanNodeId> to ImmutableList.Builder<RemoteSourceNode>
 - List<DeleteBlockResult> to List<DeleteBlockGroupResult>
 - HashSet<ApplicationId> to ArrayList<>
 - LinkedHashSet<> to CopyOnWriteArrayList<>
 - ConcurrentSkipListSet<> to CopyOnWriteArrayList<>
 - Cascading Type Change (Similar)
 - Set<UserFederationMapperModel> to List<UserStorageProviderModel>
 - Set<Expression> to List<Set<FieldId>>
 - Set<RuleKey> to List<RuleKey>
 - Set<ConfusionString> to List<ConfusionString>
 - Introduce Literal
 - Convert Class instance creation to method invocation
 - Update argument list (Class Instance Creation)
 - Wrap or Un-wrap