- MS: org.apache.ofbiz.accounting.period.PeriodServices.module isn't final but should be
This static field public but not final, and could be changed by malicious code or by accident from another package. The field could be made final to avoid this vulnerability.
After adjusting the FindBugs configuration, a new bug has been found in TaxAuthorityServices:
- RCN: Redundant nullcheck of productCategoryCond, which is known to be non-null in org.apache.ofbiz.accounting.tax.TaxAuthorityServices.getTaxAdjustments(Delegator, GenericValue, GenericValue, String, String, Set, BigDecimal, BigDecimal, BigDecimal, BigDecimal, BigDecimal)
This method contains a redundant check of a known non-null value against the constant null.