blob: 040bdca0a84de3e79b727f851af1346d8e5e2ebf [file] [log] [blame]
package de.ids_mannheim.korap.service;
import java.util.List;
public class BasicService {
protected String combineMultipleCorpusQuery (List<String> cqList) {
String combinedCorpusQuery = null;
if (cqList!=null && cqList.size() > 0) {
combinedCorpusQuery = cqList.get(0);
for (int i = 1; i < cqList.size(); i++) {
combinedCorpusQuery += "&" + cqList.get(i);
}
}
return combinedCorpusQuery;
}
}