Toggle navigation
Home
java.util.List to java.lang.Iterable
No. of Instances - 1
No. of Commits - 1
No. of Projects - {'DotCi'}
Hierarchy/Composition: R_SUPER_T
Primitive Info: -
NameSpace: Jdk -> Jdk
Mapping:
Other
Iterables.filter(objects,new Predicate<T>(){ @Override public boolean apply( @Nonnull T input){ final String requestId=requestIdFunction.apply(input); return requestMap.containsKey(requestId) && isAuthorizedForRequest(requestMap.get(requestId).getRequest(),user); } } )
to
Iterables.filter(objects,new Predicate<T>(){ @Override public boolean apply( @Nonnull T input){ final String requestId=requestIdFunction.apply(input); return requestMap.containsKey(requestId) && isAuthorizedForRequest(requestMap.get(requestId).getRequest(),user); } } )
Iterables.filter(requestIds,new Predicate<String>(){ @Override public boolean apply( @Nonnull String input){ return requestMap.containsKey(input) && isAuthorizedForRequest(requestMap.get(input).getRequest(),user); } } )
to
Iterables.filter(requestIds,new Predicate<String>(){ @Override public boolean apply( @Nonnull String input){ return requestMap.containsKey(input) && isAuthorizedForRequest(requestMap.get(input).getRequest(),user); } } )
!=
to
==
Rename Variable
existingPaymentTransactions
to
existingPaymentTransactionsForTransactionIdOrKey
existingPaymentTransactions
to
existingPaymentTransactionsForTransactionIdOrKey
inputList
to
allInputs
sequence
to
subsequence
sequence
to
subsequence
shardMetadatas
to
allShards
filteredAndCasted
to
typeDependencies
Add or Remove Method invocation
baseEntitlementWithAddOnsSpecifiers.get(0).getEntitlementSpecifier().iterator()
to
baseEntitlementWithAddOnsSpecifiers.iterator().next().getEntitlementSpecifier().iterator()
baseEntitlementWithAddOnsSpecifiers.get(0)
to
baseEntitlementWithAddOnsSpecifiers.iterator().next()
baseEntitlementWithAddOnsSpecifiers.isEmpty()
to
baseEntitlementWithAddOnsSpecifiers.iterator().hasNext()
Lists.transform(externs,TO_SOURCE_FILE_FN)
to
Lists.transform(ImmutableList.copyOf(externs),TO_SOURCE_FILE_FN)
Lists.transform(inputs,TO_SOURCE_FILE_FN)
to
Lists.transform(ImmutableList.copyOf(inputs),TO_SOURCE_FILE_FN)
records
to
U.list(records)
assertThat(entry.get(0).originBlock().resourceKey())
to
assertThat(entry.iterator().next().originBlock().resourceKey())
Wrap or Un-wrap
forEach
to
forEach
Rename Method invocation
get
to
values
Cascading Type Change (Similar)
List
to
Iterable