Skip to content

Commit

Permalink
upgrade guava version
Browse files Browse the repository at this point in the history
  • Loading branch information
yangziwen committed Jul 10, 2021
1 parent 2dc8d4e commit 396b88c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>19.0</version>
<version>30.0-jre</version>
</dependency>
<dependency>
<groupId>com.beust</groupId>
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/io/github/yangziwen/zyftp/main/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ public static void main(String[] args) throws Exception {
main.run();
}

/**
* 启动时可通过设置`-Dio.netty.leakDetectionLevel=advanced`来输出ByteBuff泄漏信息
* @throws Exception
*/
public void run() throws Exception {

Logger logger = LoggerFactory.getLogger(this.getClass());
Expand Down

0 comments on commit 396b88c

Please sign in to comment.