Commit 533bed29 authored by zengtianlai3's avatar zengtianlai3

2.3.19 代码质量:空的方法

parent f7cc88b7
...@@ -24,6 +24,7 @@ public class CorsConfig implements WebMvcConfigurer { ...@@ -24,6 +24,7 @@ public class CorsConfig implements WebMvcConfigurer {
@Override @Override
public void addResourceHandlers(ResourceHandlerRegistry registry) { public void addResourceHandlers(ResourceHandlerRegistry registry) {
System.out.println("重写了addResourceHandlers方法");
} }
@Override @Override
......
...@@ -30,9 +30,9 @@ public class LogAspect { ...@@ -30,9 +30,9 @@ public class LogAspect {
@Autowired @Autowired
private SysOperLogService sysOperLogService; private SysOperLogService sysOperLogService;
// 配置织入点
@Pointcut("@annotation(iot.sixiang.license.log.MyLog)") @Pointcut("@annotation(iot.sixiang.license.log.MyLog)")
public void logPointCut() { public void logPointCut() {
log.info("------>配置织入点");
} }
/** /**
......
...@@ -8,7 +8,7 @@ public class BaseChannelInitializer extends ChannelInitializer<SocketChannel> { ...@@ -8,7 +8,7 @@ public class BaseChannelInitializer extends ChannelInitializer<SocketChannel> {
@Override @Override
protected void initChannel(SocketChannel ch) throws Exception { protected void initChannel(SocketChannel ch) throws Exception {
// TODO Auto-generated method stub // TODO Auto-generated method stub
System.out.println("重写了initChannel方法");
} }
} }
...@@ -13,6 +13,6 @@ public class BaseConnectionListener implements ChannelFutureListener { ...@@ -13,6 +13,6 @@ public class BaseConnectionListener implements ChannelFutureListener {
@Override @Override
public void operationComplete(ChannelFuture future) throws Exception { public void operationComplete(ChannelFuture future) throws Exception {
// TODO Auto-generated method stub // TODO Auto-generated method stub
System.out.println("重写了operationComplete方法");
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment