mirror of
https://gitee.com/wangkang/udf.git
synced 2026-10-31 11:23:40 +00:00
修改代码规范
This commit is contained in:
+1
-1
@@ -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())) { //判断值
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@ import java.io.Serializable;
|
||||
*
|
||||
* @author Administrator
|
||||
*/
|
||||
public class PublisherMeta implements Serializable {
|
||||
public class PublisherMeta implements Serializable { //NOSONAR
|
||||
|
||||
/**
|
||||
* 描述 : ID
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@ import java.io.Serializable;
|
||||
*
|
||||
* @author Administrator
|
||||
*/
|
||||
public class SubscriberMeta implements Serializable {
|
||||
public class SubscriberMeta implements Serializable { //NOSONAR
|
||||
|
||||
/**
|
||||
* 描述 : ID
|
||||
|
||||
+1
-1
@@ -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())) {
|
||||
|
||||
Reference in New Issue
Block a user