Browse Source

REPORT-55243:删除不必要的代码

research/11.0
fly.li 3 years ago
parent
commit
ec6190e773
  1. 4
      designer-base/src/main/java/com/fr/design/mainframe/JTemplate.java

4
designer-base/src/main/java/com/fr/design/mainframe/JTemplate.java

@ -1468,10 +1468,6 @@ public abstract class JTemplate<T extends BaseBook, U extends BaseUndoState<?>>
return getEditingFILE().getName() + getSuffix();
}
public boolean isNewEngineMode(){
return CptCompileUtil.isNewEngine(this.getTarget(),getEditingFILE().getPath()) || getEditingFILE().getPath().endsWith(".cptx");
}
private String getSuffix() {
if (!CptCompileUtil.isNewEngine(this.getTarget(), getEditingFILE().getPath())){
return StringUtils.EMPTY;

Loading…
Cancel
Save