This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-plugins.git
The following commit(s) were added to refs/heads/trunk by this push:
new 57ef5c8 Improved: Fix some bugs Spotbugs reports (OFBIZ-12386)
57ef5c8 is described below
commit 57ef5c81d32515abf18e7818b017d1c19f3ff32f
Author: Jacques Le Roux <[email protected]>
AuthorDate: Fri Dec 24 11:32:16 2021 +0100
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
---
.../src/main/java/org/apache/ofbiz/ecommerce/janrain/JanrainHelper.java | 1 +
1 file changed, 1 insertion(+)
diff --git
a/ecommerce/src/main/java/org/apache/ofbiz/ecommerce/janrain/JanrainHelper.java
b/ecommerce/src/main/java/org/apache/ofbiz/ecommerce/janrain/JanrainHelper.java
index 9e6f3a6..ac4f5db 100644
---
a/ecommerce/src/main/java/org/apache/ofbiz/ecommerce/janrain/JanrainHelper.java
+++
b/ecommerce/src/main/java/org/apache/ofbiz/ecommerce/janrain/JanrainHelper.java
@@ -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);