Improved: Fix some bugs Spotbugs reports (OFBIZ-12386)

Before analysing issues with apiKey and baseUrl static vars, just better formatting
More to test a change in Buildbot config actually
This commit is contained in:
Jacques Le Roux
2021-12-24 11:32:16 +01:00
parent 537a4591e2
commit 57ef5c81d3
@@ -64,6 +64,7 @@ public class JanrainHelper {
private static final String MODULE = JanrainHelper.class.getName();
private static String apiKey = UtilProperties.getPropertyValue("ecommerce", "janrain.apiKey");
private static String baseUrl = UtilProperties.getPropertyValue("ecommerce", "janrain.baseUrl");
public JanrainHelper(String apiKey, String baseUrl) {
while (baseUrl.endsWith("/")) {
baseUrl = baseUrl.substring(0, baseUrl.length() - 1);