Remove redundant code in SentinelResourceAspect (#2016)

This commit is contained in:
ss-superman 2021-02-07 15:24:19 +08:00 committed by GitHub
parent fca70646ad
commit dfce6ebba4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -54,8 +54,7 @@ public class SentinelResourceAspect extends AbstractSentinelAspectSupport {
Entry entry = null;
try {
entry = SphU.entry(resourceName, resourceType, entryType, pjp.getArgs());
Object result = pjp.proceed();
return result;
return pjp.proceed();
} catch (BlockException ex) {
return handleBlockException(pjp, annotation, ex);
} catch (Throwable ex) {