Skip to content

Commit

Permalink
[ALS-4957] Minor refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Gcolon021 committed Nov 1, 2023
1 parent 8d1355c commit ff1cfa1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ private Map<String, String> obfuscateCrossCounts(Map<String, String> crossCounts
* @return int The variance
*/
private int generateVarianceWithCrossCounts(Map<String, String> crossCounts) {
final List<Map.Entry<String, String>> entryList = new ArrayList(crossCounts.entrySet());
final List<Map.Entry<String, String>> entryList = new ArrayList<>(crossCounts.entrySet());

// sort the entry set. By sorting the entry set first we can ensure that the variance is the same for each run.
// This is to give us a random variance that is deterministic.
Expand Down

0 comments on commit ff1cfa1

Please sign in to comment.