From f395daf0370e2fb81522e4d7b6e2f4cf8c27bf2e Mon Sep 17 00:00:00 2001 From: SparkLee Date: Mon, 17 May 2021 09:51:26 +0800 Subject: [PATCH] doc: Fix typo in comments of SphO (#2206) --- sentinel-core/src/main/java/com/alibaba/csp/sentinel/SphO.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sentinel-core/src/main/java/com/alibaba/csp/sentinel/SphO.java b/sentinel-core/src/main/java/com/alibaba/csp/sentinel/SphO.java index 76677412..592a3a0d 100755 --- a/sentinel-core/src/main/java/com/alibaba/csp/sentinel/SphO.java +++ b/sentinel-core/src/main/java/com/alibaba/csp/sentinel/SphO.java @@ -31,7 +31,7 @@ import com.alibaba.csp.sentinel.slots.system.SystemRuleManager; * Conceptually, physical or logical resource that need protection should be * surrounded by an entry. The requests to this resource will be blocked if any * criteria is met, eg. when any {@link Rule}'s threshold is exceeded. Once blocked, - * {@link SphO}#enter() will return false. + * {@link SphO}#entry() will return false. * *

* To configure the criteria, we can use XXXRuleManager.loadRules() to add rules. eg.