From 071c4c39a5e2d7733776f3472f4493150ca3f36a Mon Sep 17 00:00:00 2001 From: Rocky Yu Date: Mon, 26 Dec 2022 12:10:32 +0800 Subject: [PATCH] opt the code --- .../java/org/hiforce/lattice/model/ability/BusinessExt.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lattice-model/src/main/java/org/hiforce/lattice/model/ability/BusinessExt.java b/lattice-model/src/main/java/org/hiforce/lattice/model/ability/BusinessExt.java index 6a291a14..d9324634 100644 --- a/lattice-model/src/main/java/org/hiforce/lattice/model/ability/BusinessExt.java +++ b/lattice-model/src/main/java/org/hiforce/lattice/model/ability/BusinessExt.java @@ -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 getAllSubBusinessExt() { + public final @NonNull List getAllSubBusinessExt() { IBusinessExtCache invokeCache = LatticeCacheFactory.getInstance().getRuntimeCache().getBusinessExtCache(); return invokeCache.getAllSubBusinessExt(this); }