XiaXiang 7 years ago
parent
commit
64b68c66b8
  1. 2
      designer/src/com/fr/design/mainframe/alphafine/component/AlphaFineDialog.java
  2. 2
      designer/src/com/fr/design/mainframe/alphafine/search/manager/ActionSearchManager.java
  3. 2
      designer/src/com/fr/design/mainframe/alphafine/search/manager/DocumentSearchManager.java

2
designer/src/com/fr/design/mainframe/alphafine/component/AlphaFineDialog.java

@ -723,7 +723,7 @@ public class AlphaFineDialog extends UIDialog {
@Override @Override
public void checkValid() throws Exception { public void checkValid() throws Exception {
//不处理
} }
private void doNavigate() { private void doNavigate() {

2
designer/src/com/fr/design/mainframe/alphafine/search/manager/ActionSearchManager.java

@ -75,7 +75,7 @@ public class ActionSearchManager implements AlphaFineSearchProcessor {
result.add(object); result.add(object);
} }
} }
if (result.size() == 0) { if (result.isEmpty()) {
return lessModelList; return lessModelList;
} else if (result.size() < AlphaFineConstants.SHOW_SIZE + 1) { } else if (result.size() < AlphaFineConstants.SHOW_SIZE + 1) {
lessModelList.add(0, new MoreModel(Inter.getLocText("FR-Designer_Set"))); lessModelList.add(0, new MoreModel(Inter.getLocText("FR-Designer_Set")));

2
designer/src/com/fr/design/mainframe/alphafine/search/manager/DocumentSearchManager.java

@ -76,7 +76,7 @@ public class DocumentSearchManager implements AlphaFineSearchProcessor {
searchResult.add(cellModel); searchResult.add(cellModel);
} }
} }
if (searchResult.size() == 0) { if (searchResult.isEmpty()) {
return lessModelList; return lessModelList;
} else if (searchResult.size() < AlphaFineConstants.SHOW_SIZE + 1) { } else if (searchResult.size() < AlphaFineConstants.SHOW_SIZE + 1) {
lessModelList.add(0, new MoreModel(Inter.getLocText("FR-Designer_COMMUNITY_HELP"))); lessModelList.add(0, new MoreModel(Inter.getLocText("FR-Designer_COMMUNITY_HELP")));

Loading…
Cancel
Save