refactoring
diff --git a/src/main/java/de/ids_mannheim/korap/query/serialize/QuerySerializer.java b/src/main/java/de/ids_mannheim/korap/query/serialize/QuerySerializer.java
index 25fcc62..71ca9ad 100644
--- a/src/main/java/de/ids_mannheim/korap/query/serialize/QuerySerializer.java
+++ b/src/main/java/de/ids_mannheim/korap/query/serialize/QuerySerializer.java
@@ -116,9 +116,9 @@
mapper.writeValue(new File(outFile), requestMap);
}
- public String run(String query, String ql, List<String> parents,
- String cli, String cri, int cls, int crs,
- int num, int page, boolean cutoff)
+ public String buildQuery(String query, String ql, List<String> parents,
+ String cli, String cri, int cls, int crs,
+ int num, int page, boolean cutoff)
throws QueryException {
if (ql.toLowerCase().equals("poliqarp")) {
ast = new PoliqarpPlusTree(query);