Spotbugs adjustments
This commit is contained in:
committed by
Arnold Gálovics
parent
3ab648c088
commit
13413f19f3
+2
@@ -18,6 +18,7 @@
|
||||
*/
|
||||
package org.apache.fineract.cob.listener;
|
||||
|
||||
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
@@ -30,6 +31,7 @@ public class COBExecutionListenerRunner implements JobExecutionListener {
|
||||
private final List<FineractCOBBeforeJobListener> beforeJobListeners = new ArrayList<>();
|
||||
private final List<FineractCOBAfterJobListener> afterJobListeners = new ArrayList<>();
|
||||
|
||||
@SuppressFBWarnings({ "CT_CONSTRUCTOR_THROW" })
|
||||
public COBExecutionListenerRunner(ApplicationContext applicationContext, String jobName) {
|
||||
addBeforeListeners(applicationContext, jobName);
|
||||
addAfterListeners(applicationContext, jobName);
|
||||
|
||||
+1
@@ -53,6 +53,7 @@ public class SamplingDataPrinter {
|
||||
}
|
||||
}
|
||||
|
||||
@SuppressFBWarnings({ "VA_FORMAT_STRING_USES_NEWLINE" })
|
||||
private String getFormattedSamplingData(Class<?> clazz, SamplingData samplingData) {
|
||||
if (clazz != null && samplingData != null) {
|
||||
Map<String, List<Duration>> timings = samplingData.getTimings();
|
||||
|
||||
Reference in New Issue
Block a user