Revision 9f8cd368
Added by Patrick Plitzner over 5 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/webimport/termimport/parser/TermParser.java | ||
---|---|---|
9 | 9 |
package eu.etaxonomy.taxeditor.view.webimport.termimport.parser; |
10 | 10 |
|
11 | 11 |
import java.util.ArrayList; |
12 |
import java.util.Collection; |
|
13 | 12 |
import java.util.List; |
14 | 13 |
|
15 | 14 |
import org.json.JSONArray; |
... | ... | |
38 | 37 |
return null; |
39 | 38 |
} |
40 | 39 |
|
41 |
public static Collection<OntologyTermWrapper> parse(String response){
|
|
40 |
public static List<OntologyTermWrapper> parse(String response){
|
|
42 | 41 |
List<OntologyTermWrapper> wrapperList = new ArrayList<>(); |
43 | 42 |
try { |
44 | 43 |
JSONObject jsonResponse = new JSONObject(response); |
Also available in: Unified diff
ref #7806 Sort result list