Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
ioc_sixiang_license
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zengtianlai3
ioc_sixiang_license
Commits
533bed29
Commit
533bed29
authored
Jun 30, 2022
by
zengtianlai3
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2.3.19 代码质量:空的方法
parent
f7cc88b7
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
3 deletions
+4
-3
CorsConfig.java
.../src/main/java/iot/sixiang/license/config/CorsConfig.java
+1
-0
LogAspect.java
license/src/main/java/iot/sixiang/license/log/LogAspect.java
+1
-1
BaseChannelInitializer.java
.../java/iot/sixiang/license/net/BaseChannelInitializer.java
+1
-1
BaseConnectionListener.java
.../java/iot/sixiang/license/net/BaseConnectionListener.java
+1
-1
No files found.
license/src/main/java/iot/sixiang/license/config/CorsConfig.java
View file @
533bed29
...
@@ -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
...
...
license/src/main/java/iot/sixiang/license/log/LogAspect.java
View file @
533bed29
...
@@ -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
(
"------>配置织入点"
);
}
}
/**
/**
...
...
license/src/main/java/iot/sixiang/license/net/BaseChannelInitializer.java
View file @
533bed29
...
@@ -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方法"
);
}
}
}
}
license/src/main/java/iot/sixiang/license/net/BaseConnectionListener.java
View file @
533bed29
...
@@ -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方法"
);
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment