修改代码规范

This commit is contained in:
wangkang
2017-08-10 09:17:16 +08:00
parent b12747eebc
commit b676b5fad1
2 changed files with 4 additions and 4 deletions
@@ -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);
}
@@ -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
*