Skip to content

Commit

Permalink
opt the code
Browse files Browse the repository at this point in the history
  • Loading branch information
Rocky Yu committed Dec 26, 2022
1 parent 58d4f5d commit 071c4c3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
public abstract class BusinessExt implements IBusinessExt {

@Override
public IBusinessExt getBusinessExtByCode(String extCode, String scenario) {
public final IBusinessExt getBusinessExtByCode(String extCode, String scenario) {
IBusinessExtCache businessExtCache =
LatticeCacheFactory.getInstance().getRuntimeCache().getBusinessExtCache();
return businessExtCache.getCachedBusinessExt(this, extCode, scenario);
}

@Override
public @NonNull List<IBusinessExt> getAllSubBusinessExt() {
public final @NonNull List<IBusinessExt> getAllSubBusinessExt() {
IBusinessExtCache invokeCache = LatticeCacheFactory.getInstance().getRuntimeCache().getBusinessExtCache();
return invokeCache.getAllSubBusinessExt(this);
}
Expand Down

0 comments on commit 071c4c3

Please sign in to comment.