Jacques Le Roux 82c5a574fb Improved: Fix some bugs Spotbugs reports (OFBIZ-12386)
I wrote in previous commit:
"uses <<private static final SecureRandom SECURE_RANDOM = new SecureRandom();>>
in classes:
PaymentGatewayServices
ValueLinkApi
ContactMechServices
ProductStoreWorker
DesCrypt
HashCrypt
EntityCrypto
ContextFilter.java
Despite doing so SpotButs still reports the same error for those classes.
As it's obviously an error I prefer to not excludes those cases that will maybe
not be reported in a future version of SpotButs in Eclipse. For instance they
are not reported at all in previous version (4.5.1) but are in 4.5.2"

Actually it turn out to be that I needed to remove the SpotBugs markers.
SpotBugs is mischievous. Sometimes just when fixing a report in a file it
automatically updates the tree of reports, most of the time not. Sometimes you
don't need to remove the SpotBugs markers. Just running again clears the tree of
reports.

Anyway I was inspired to not exclude the reported cases for the classes above.
They no longer appear, but a new one popped up (or I missed it previously but
I doubt) in SampleHtmlThread::run.

This fixes it and it no longer appears when just running SpotBugs again,
go figure...
2021-12-26 15:26:33 +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%