|
|
|
@ -200,11 +200,7 @@ public class PluginSearchManager implements AlphaFineSearchProvider {
|
|
|
|
|
List<PluginModel> parseDefaultPluginModel(List<Map> jsonObjects) { |
|
|
|
|
List<PluginModel> pluginModels = new ArrayList<>(); |
|
|
|
|
if (!Collections.isEmpty(jsonObjects)) { |
|
|
|
|
try { |
|
|
|
|
jsonObjects.sort(PluginSearchManager::sortPluginByUploadTime); |
|
|
|
|
} catch (Exception e) { |
|
|
|
|
FineLoggerFactory.getLogger().error(e, e.getMessage()); |
|
|
|
|
} |
|
|
|
|
jsonObjects.sort(PluginSearchManager::sortPluginByUploadTime); |
|
|
|
|
int pluginModelsCount = 0; |
|
|
|
|
String version = "v" + ProductConstants.MAIN_VERSION; |
|
|
|
|
for (Map obj : jsonObjects) { |
|
|
|
|