You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace Guava Lists.newArrayList and Sets.newHashSet with JDK collection factories (List.of, Set.of) when possible (i.e. when the collection can be unmodifiable)
The text was updated successfully, but these errors were encountered:
* Replace Lists.newArrayList() with new ArrayList<>() in RetryerBuilder
* Replace Sets.newHashSet() w/new HashSet<>() in AttemptTimeLimitersTest
* Replace Lists.newArrayList(waitStrategies) to the more verbose
new ArrayList<>(Arrays.asList(waitStrategies)) because of the null
check below. For now just wanted to keep existing behavior as-is so
this was one way using only native JDK API.
Closes#42
* Replace Lists.newArrayList() with new ArrayList<>() in RetryerBuilder
* Replace Sets.newHashSet() w/new HashSet<>() in AttemptTimeLimitersTest
* Replace Lists.newArrayList(waitStrategies) to the more verbose
new ArrayList<>(Arrays.asList(waitStrategies)) because of the null
check below. For now just wanted to keep existing behavior as-is so
this was one way using only native JDK API.
Closes#42
Replace Guava
Lists.newArrayList
andSets.newHashSet
with JDK collection factories (List.of
,Set.of
) when possible (i.e. when the collection can be unmodifiable)The text was updated successfully, but these errors were encountered: