Removed min serialization for repetitions

Change-Id: Icca84fe505f83a19cd92e73997739e438a131c75
diff --git a/Changes b/Changes
index 93ffe5d..e495bcd 100644
--- a/Changes
+++ b/Changes
@@ -1,7 +1,8 @@
-0.23 2016-10-25
+0.23 2016-10-27
 	- Added tests and comments for FCSQL (margaretha)
 	- Added quantifier for FCSQL QueryGroup (margaretha)
-	- Improved Poliqarp+ test suite (diewald) 
+	- Improved Poliqarp+ test suite (diewald)
+  - Removed redundant min serialization in repetitions (diewald)
 
 0.22 2016-06-15
     - Spans now always wrap terms (diewald)
diff --git a/src/main/java/de/ids_mannheim/korap/query/serialize/util/KoralObjectGenerator.java b/src/main/java/de/ids_mannheim/korap/query/serialize/util/KoralObjectGenerator.java
index 8381176..e7c5b56 100644
--- a/src/main/java/de/ids_mannheim/korap/query/serialize/util/KoralObjectGenerator.java
+++ b/src/main/java/de/ids_mannheim/korap/query/serialize/util/KoralObjectGenerator.java
@@ -86,7 +86,6 @@
             Integer max) {
         LinkedHashMap<String, Object> group = makeGroup("repetition");
         group.put("boundary", makeBoundary(min, max));
-        group.put("min", min);
         return group;
     }
 
diff --git a/src/test/java/de/ids_mannheim/korap/query/test/poliqarpplus/EmptyTokenTest.java b/src/test/java/de/ids_mannheim/korap/query/test/poliqarpplus/EmptyTokenTest.java
index ad7873a..3ecb4b8 100644
--- a/src/test/java/de/ids_mannheim/korap/query/test/poliqarpplus/EmptyTokenTest.java
+++ b/src/test/java/de/ids_mannheim/korap/query/test/poliqarpplus/EmptyTokenTest.java
@@ -20,6 +20,7 @@
  * 

  * @author Joachim Bingel (bingel@ids-mannheim.de)

  * @author Eliza Margaretha (margaretha@ids-mannheim.de)

+ * @author Nils Diewald (diewald@ids-mannheim.de)

  * @version 1.0

  */

 

@@ -82,6 +83,7 @@
                 res.at("/query/boundary/@type").asText());

         assertEquals(0, res.at("/query/boundary/min").asInt());

         assertEquals(3, res.at("/query/boundary/max").asInt());

+		assertTrue(res.at("/query/min").isMissingNode());

 

         query = "[]{4,}";

         qs.setQuery(query, "poliqarpplus");