Browse Source

fix pmd

master
XiaXiang 8 years ago
parent
commit
4fbe80e858
  1. 4
      designer/src/com/fr/design/mainframe/alphafine/search/manager/ActionSearchManager.java
  2. 4
      designer/src/com/fr/design/mainframe/alphafine/search/manager/FileSearchManager.java

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

@ -50,9 +50,11 @@ public class ActionSearchManager implements AlphaFineSearchProcessor {
}
SearchResult result = new SearchResult();
for (Object object : filterModelList) {
if (!AlphaFineHelper.getFilterResult().contains(object))
if (!AlphaFineHelper.getFilterResult().contains(object)) {
result.add(object);
}
}
if (result.size() < AlphaFineConstants.SHOW_SIZE + 1) {
lessModelList.add(0, TITLE_MODEL);
if (result.size() == 0) {

4
designer/src/com/fr/design/mainframe/alphafine/search/manager/FileSearchManager.java

@ -61,9 +61,11 @@ public class FileSearchManager implements AlphaFineSearchProcessor {
}
SearchResult result = new SearchResult();
for (Object object : filterModelList) {
if (!AlphaFineHelper.getFilterResult().contains(object))
if (!AlphaFineHelper.getFilterResult().contains(object)) {
result.add(object);
}
}
if (result.size() < AlphaFineConstants.SHOW_SIZE + 1) {
lessModelList.add(0, TITLE_MODEL);
if (result.size() == 0) {

Loading…
Cancel
Save