formattingˆ

This commit is contained in:
spencergibb
2023-01-12 13:26:40 -05:00
parent ee5ad6f462
commit ec76763404

View File

@@ -233,8 +233,8 @@ public class WeightCalculatorWebFilter implements WebFilter, Ordered, SmartAppli
}
/*
* Usually, multiple threads accessing the same random object will have some performance problems,
* so we can use ThreadLocalRandom by default
* Usually, multiple threads accessing the same random object will have some
* performance problems, so we can use ThreadLocalRandom by default
*/
Random useRandom = this.random;
useRandom = useRandom == null ? ThreadLocalRandom.current() : useRandom;