format code according to checkstyle
This commit is contained in:
parent
b6b2f880f5
commit
8365f8c8bf
|
@ -129,4 +129,4 @@ public class NotifyItem {
|
|||
|
||||
return notifyItems;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -153,4 +153,4 @@ public class AlarmManager {
|
|||
MDC.remove(TRACE_ID);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -185,4 +185,4 @@ public class ExecutorWrapper {
|
|||
((TaskEnhanceAware) executor.getOriginal()).setTaskWrappers(taskWrappers);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -149,4 +149,4 @@ public class DtpEmailNotifier extends AbstractDtpNotifier {
|
|||
context.setVariable("poolName", populatePoolName(executorWrapper));
|
||||
return context;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -145,7 +145,7 @@ public class SpringBootPropertiesBinder implements PropertiesBinder {
|
|||
return;
|
||||
}
|
||||
val fields = ReflectionUtil.getAllFields(DtpExecutorProps.class);
|
||||
if(CollectionUtils.isEmpty(fields)) {
|
||||
if (CollectionUtils.isEmpty(fields)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -157,7 +157,7 @@ public class SpringBootPropertiesBinder implements PropertiesBinder {
|
|||
return;
|
||||
}
|
||||
Object globalFieldVal = getProperty(GLOBAL_CONFIG_PREFIX + field.getName(), source);
|
||||
if(Objects.isNull(globalFieldVal)) {
|
||||
if (Objects.isNull(globalFieldVal)) {
|
||||
return;
|
||||
}
|
||||
ReflectUtil.setFieldValue(executor, field, globalFieldVal);
|
||||
|
@ -180,7 +180,7 @@ public class SpringBootPropertiesBinder implements PropertiesBinder {
|
|||
CollectionUtils.isNotEmpty(globalExecutorProps.getAwareNames())) {
|
||||
executor.setAwareNames(globalExecutorProps.getAwareNames());
|
||||
}
|
||||
if (CollectionUtils.isEmpty(executor.getPluginNames() ) &&
|
||||
if (CollectionUtils.isEmpty(executor.getPluginNames()) &&
|
||||
CollectionUtils.isNotEmpty(globalExecutorProps.getPluginNames())) {
|
||||
executor.setPluginNames(globalExecutorProps.getPluginNames());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue