mirror of
https://gitee.com/wangkang/udf.git
synced 2026-10-29 00:23:41 +00:00
修改代码规范
This commit is contained in:
+1
-1
@@ -101,7 +101,7 @@ public class ExceptionController extends AbstractErrorController {
|
||||
* @param produces the media type produced (or {@code MediaType.ALL})
|
||||
* @return if the stacktrace attribute should be included
|
||||
*/
|
||||
protected boolean isIncludeStackTrace(HttpServletRequest request, MediaType produces) {
|
||||
protected boolean isIncludeStackTrace(HttpServletRequest request, MediaType produces) { //NOSONAR
|
||||
ErrorProperties.IncludeStacktrace include = getErrorProperties().getIncludeStacktrace();
|
||||
return include == ErrorProperties.IncludeStacktrace.ALWAYS || include == ErrorProperties.IncludeStacktrace.ON_TRACE_PARAM && getTraceParameter(request);
|
||||
}
|
||||
|
||||
+3
-3
@@ -6,9 +6,6 @@
|
||||
*/
|
||||
package org.itkk.udf.scheduler;
|
||||
|
||||
import java.util.Iterator;
|
||||
import java.util.Map;
|
||||
|
||||
import org.apache.commons.collections4.MapUtils;
|
||||
import org.itkk.udf.scheduler.meta.CronTriggerMeta;
|
||||
import org.itkk.udf.scheduler.meta.JobDetailMeta;
|
||||
@@ -19,6 +16,9 @@ import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.boot.CommandLineRunner;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.util.Iterator;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* 描述 : AutoInitCommandLineRunner
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user