Browse Source

bug fix

master
XiaXiang 8 years ago
parent
commit
96c8994c49
  1. 2
      designer/src/com/fr/design/mainframe/alphafine/search/manager/DocumentSearchManager.java
  2. 4
      designer/src/com/fr/design/mainframe/alphafine/search/manager/PluginSearchManager.java

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

@ -76,12 +76,10 @@ public class DocumentSearchManager implements AlphaFineSearchProcessor {
moreModelList.addAll(searchResult.subList(AlphaFineConstants.SHOW_SIZE, searchResult.size()));
}
}
} catch (JSONException e) {
FRLogger.getLogger().error("document search error: " + e.getMessage());
return lessModelList;
}
}
return lessModelList;
}

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

@ -80,9 +80,7 @@ public class PluginSearchManager implements AlphaFineSearchProcessor {
lessModelList.addAll(searchResult.subList(0, AlphaFineConstants.SHOW_SIZE));
moreModelList.addAll(searchResult.subList(AlphaFineConstants.SHOW_SIZE, searchResult.size()));
}
}
} catch (JSONException e) {
FRLogger.getLogger().error("plugin search json error :" + e.getMessage());
} catch (UnsupportedEncodingException e) {
@ -90,8 +88,6 @@ public class PluginSearchManager implements AlphaFineSearchProcessor {
}
}
return this.lessModelList;
}
private SearchResult getNoConnectList() {

Loading…
Cancel
Save