Browse Source

改下类名

feature/x
kerry 2 years ago
parent
commit
6584f614a4
  1. 4
      designer-base/src/main/java/com/fr/design/file/TemplateTabManager.java
  2. 8
      designer-base/src/main/java/com/fr/design/file/impl/EmptyTemplateTabOperate.java

4
designer-base/src/main/java/com/fr/design/file/TemplateTabManager.java

@ -2,7 +2,7 @@ package com.fr.design.file;
import com.finebi.cbb.utils.CompareUtils;
import com.fr.design.file.impl.DefaultTemplateTabOperate;
import com.fr.design.file.impl.EmptyTemplateTabOperator;
import com.fr.design.file.impl.EmptyTemplateTabOperate;
import com.fr.design.mainframe.DesignerContext;
import com.fr.design.mainframe.JTemplate;
import com.fr.file.FILE;
@ -285,7 +285,7 @@ public class TemplateTabManager {
return provider;
}
}
return EmptyTemplateTabOperator.getInstance();
return EmptyTemplateTabOperate.getInstance();
}
}

8
designer-base/src/main/java/com/fr/design/file/impl/EmptyTemplateTabOperator.java → designer-base/src/main/java/com/fr/design/file/impl/EmptyTemplateTabOperate.java

@ -15,13 +15,13 @@ import java.util.List;
* @since 11.0
* created on 2023-04-14
**/
public class EmptyTemplateTabOperator implements TemplateTabOperateProvider {
public class EmptyTemplateTabOperate implements TemplateTabOperateProvider {
private static class Holder {
private static final EmptyTemplateTabOperator SINGLETON = new EmptyTemplateTabOperator();
private static final EmptyTemplateTabOperate SINGLETON = new EmptyTemplateTabOperate();
}
private EmptyTemplateTabOperator() {
private EmptyTemplateTabOperate() {
}
@ -29,7 +29,7 @@ public class EmptyTemplateTabOperator implements TemplateTabOperateProvider {
* 返回空的模板taboperator单例
* @return
*/
public static EmptyTemplateTabOperator getInstance() {
public static EmptyTemplateTabOperate getInstance() {
return Holder.SINGLETON;
}
Loading…
Cancel
Save