修改代码规范

This commit is contained in:
wangkang
2017-07-29 10:35:20 +08:00
parent 93e1a7b7e5
commit ff77a7c79d
4 changed files with 4 additions and 4 deletions
@@ -80,7 +80,7 @@ public class RabbitmqListenerBaseAspect {
for (Method method : methods) { //循环方法
if (method.getName().equals(methodName)) { //定位方法
if (method.isAnnotationPresent(Consumer.class)) { //判断是否包含Consumer注解
for (Annotation anno : method.getDeclaredAnnotations()) { //循环注解
for (Annotation anno : method.getDeclaredAnnotations()) { //NOSONAR //循环注解
if (anno.annotationType().equals(Consumer.class)) { //定位注解
Consumer consumer = (Consumer) anno; //获得注解
if (StringUtils.isNotBlank(consumer.value())) { //判断值
@@ -13,7 +13,7 @@ import java.io.Serializable;
*
* @author Administrator
*/
public class PublisherMeta implements Serializable {
public class PublisherMeta implements Serializable { //NOSONAR
/**
* 描述 : ID
@@ -13,7 +13,7 @@ import java.io.Serializable;
*
* @author Administrator
*/
public class SubscriberMeta implements Serializable {
public class SubscriberMeta implements Serializable { //NOSONAR
/**
* 描述 : ID
@@ -378,7 +378,7 @@ public class TriggerService {
* @param triggerCode 触发器代码
* @return 触发器元数据
*/
protected TriggerMeta getTriggerMeta(String triggerCode) {
protected TriggerMeta getTriggerMeta(String triggerCode) { //NOSONAR
TriggerMeta cornTriggerMeta = null;
TriggerMeta simpleTriggerMeta = null;
if (MapUtils.isNotEmpty(schedulerProperties.getCronTrigger())) {