Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Qlexpress #2978

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
【支持qlexpress表达式】
  • Loading branch information
taokan committed Nov 10, 2024
commit 7d73a17fd0d2cb27f168982e3033bc4a3076a537
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ private void initConfig() {
QLOptions.Builder qlOptionsBuilder = QLOptions.builder();
if (GlobalOptions.QLExpressConfig.length() > 0) {
QLExpressConfigModel qlExpressConfigModel = JSON.parseObject(GlobalOptions.QLExpressConfig, QLExpressConfigModel.class);
this.qlExpressConfigModel = qlExpressConfigModel;
qlOptionsBuilder.cache(qlExpressConfigModel.isCache());
qlOptionsBuilder.avoidNullPointer(qlExpressConfigModel.isAvoidNullPointer());
qlOptionsBuilder.maxArrLength(qlExpressConfigModel.getMaxArrLength());
Expand All @@ -53,12 +52,6 @@ private void initConfig() {
}
qlOptions = qlOptionsBuilder.build();

InitOptions.Builder initOptionsBuilder = InitOptions.builder();
initOptionsBuilder.allowPrivateAccess(qlExpressConfigModel.isAllowPrivateAccess());
initOptionsBuilder.debug(qlExpressConfigModel.isDebug());
initOptionsBuilder.useCacheClear(qlExpressConfigModel.isUseCacheClear());
initOptions = initOptionsBuilder.build();

//4.0设置InitOptions
}catch (Throwable t){
//异常不设置options
Expand Down