Jacques Le Roux cf086a2b47 Improved: Fix some bugs Spotbugs reports (OFBIZ-12386)
In GitHubEvents::gitHubRedirect, random object created and used only once.

This code creates a java.util.Random object, uses it to generate one random
number, and then discards the Random object. This produces mediocre quality
random numbers and is inefficient. If possible, rewrite the code so that the
Random object is created once and saved, and each time a new random number is
required invoke a method on the existing Random object to obtain it.
Also fixes 2 Javadoc errors

In SampleHtmlThread, uses SecureRandom rather than Random class

In LinkedInEvents::linkedInRedirect, uses SecureRandom rather than Random class
Also fixes 2 Javadoc errors
2021-12-05 09:55:08 +01:00
2020-06-25 09:23:50 +02:00
2019-11-30 07:29:13 +01:00
2020-03-14 08:29:22 +01:00
S
Description
No description provided
Apache-2.0
153 MiB
Languages
JavaScript 44.6%
Java 23.1%
FreeMarker 18.1%
Groovy 6.4%
CSS 5.3%
Other 2.4%