LibreOffice / lots

Letterhead, template, form, autotext, mail merge,... extension for LibreOffice
https://wollmux.org/
European Union Public License 1.1
53 stars 32 forks source link

save and reuse Random (sonar java:S2119) #473

Open cloph opened 5 months ago

cloph commented 5 months ago

"Creating a new Random object each time a random value is needed is inefficient and may produce numbers that are not random, depending on the JDK. For better efficiency and randomness, create a single Random, store it, and reuse it."

also test CI for pull-requests ;-)