Minor style fixes
diff --git a/src/main/java/de/ids_mannheim/korap/KorapQuery.java b/src/main/java/de/ids_mannheim/korap/KorapQuery.java
index b8a3e52..e15eeef 100644
--- a/src/main/java/de/ids_mannheim/korap/KorapQuery.java
+++ b/src/main/java/de/ids_mannheim/korap/KorapQuery.java
@@ -382,9 +382,8 @@
SpanQueryWrapper sqw = this.fromJSON(operands.get(0));
- if (sqw.maybeExtension()) {
+ if (sqw.maybeExtension())
return sqw.setMin(min).setMax(max);
- };
return new SpanRepetitionQueryWrapper(sqw, min, max);
};
diff --git a/src/main/java/de/ids_mannheim/korap/query/wrap/SpanQueryWrapper.java b/src/main/java/de/ids_mannheim/korap/query/wrap/SpanQueryWrapper.java
index f9eb3ea..dd84549 100644
--- a/src/main/java/de/ids_mannheim/korap/query/wrap/SpanQueryWrapper.java
+++ b/src/main/java/de/ids_mannheim/korap/query/wrap/SpanQueryWrapper.java
@@ -18,11 +18,11 @@
protected byte number = (byte) 0;
protected boolean hasClass = false;
- protected boolean isNull = true,
+ protected boolean isNull = true,
isOptional = false,
isNegative = false,
- isEmpty = false,
- isExtendedToTheRight;
+ isEmpty = false,
+ isExtendedToTheRight = false;
// Serialize query to Lucene SpanQuery
public SpanQuery toQuery () throws QueryException {
diff --git a/src/main/java/de/ids_mannheim/korap/query/wrap/SpanRepetitionQueryWrapper.java b/src/main/java/de/ids_mannheim/korap/query/wrap/SpanRepetitionQueryWrapper.java
index a6c5640..3b9763d 100644
--- a/src/main/java/de/ids_mannheim/korap/query/wrap/SpanRepetitionQueryWrapper.java
+++ b/src/main/java/de/ids_mannheim/korap/query/wrap/SpanRepetitionQueryWrapper.java
@@ -63,7 +63,6 @@
min = 1;
if (max == 0)
this.isNull = true;
- System.err.println("++++++++++++++++++++++++++++++");
};
this.min = min;