Browse Source

REPORT-109525 【设计器性能】启动性能优化 规范

feature/x
Destiny.Lin 11 months ago
parent
commit
d7eb806920
  1. 6
      designer-realize/src/main/java/com/fr/start/SplashContext.java

6
designer-realize/src/main/java/com/fr/start/SplashContext.java

@ -30,7 +30,7 @@ public class SplashContext {
public static final String SPLASH_PATH = getSplashPath();
public static final String SPLASH_CACHE_NAME = SPLASH_PATH.substring(SPLASH_PATH.lastIndexOf("/") + 1);
private static final int FETCH_ONLINE_MAX_TIMES = 50;
private String THANKS = StringUtils.EMPTY;
private String thanks = StringUtils.EMPTY;
private static final SplashContext SPLASH_CONTEXT = new SplashContext();
@ -98,7 +98,7 @@ public class SplashContext {
}
private void initListener() {
THANKS = Toolkit.i18nText("Fine-Design_Report_Thanks_To");
thanks = Toolkit.i18nText("Fine-Design_Report_Thanks_To");
moduleId = Toolkit.i18nText("Fine-Design_Basic_Initializing");
scheduler.scheduleAtFixedRate(new Runnable() {
@Override
@ -166,7 +166,7 @@ public class SplashContext {
if (shouldShowThanks() && !hasShowThanks) {
tryFetchOnline();
if (StringUtils.isNotEmpty(guest)) {
updateThanksLog(THANKS + guest);
updateThanksLog(thanks + guest);
hasShowThanks = true;
}
}

Loading…
Cancel
Save