diff --git a/README.md b/README.md index 251e936e..38c39abd 100755 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ If your application is build in Maven, just add the following dependency in `pom com.alibaba.csp sentinel-core - 1.6.3 + 1.7.0 ``` @@ -74,6 +74,7 @@ try (Entry entry = SphU.entry("HelloWorld")) { // Handle rejected request. e.printStackTrace(); } +// try-with-resources auto exit ``` So far the code modification is done. We also provide [annotation support module](https://github.com/alibaba/Sentinel/blob/master/sentinel-extension/sentinel-annotation-aspectj/README.md) to define resource easier.