From d45ceb06dcc61356adc920772e142b81c1114f19 Mon Sep 17 00:00:00 2001 From: Eric Zhao Date: Tue, 12 Nov 2019 10:20:46 +0800 Subject: [PATCH] Update README.md Signed-off-by: Eric Zhao --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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.