format code according to checkstyle

This commit is contained in:
yanhom 2024-09-07 20:08:22 +08:00
parent b6b2f880f5
commit 8365f8c8bf
5 changed files with 7 additions and 7 deletions

View File

@ -129,4 +129,4 @@ public class NotifyItem {
return notifyItems;
}
}
}

View File

@ -153,4 +153,4 @@ public class AlarmManager {
MDC.remove(TRACE_ID);
}
}
}
}

View File

@ -185,4 +185,4 @@ public class ExecutorWrapper {
((TaskEnhanceAware) executor.getOriginal()).setTaskWrappers(taskWrappers);
}
}
}
}

View File

@ -149,4 +149,4 @@ public class DtpEmailNotifier extends AbstractDtpNotifier {
context.setVariable("poolName", populatePoolName(executorWrapper));
return context;
}
}
}

View File

@ -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());
}