Skip to content

Apache Lucene open-source search software

remove silly assert

Michael McCandless5f0535481781
diff --git a/lucene/core/src/java/org/apache/lucene/util/fst/PositiveIntOutputs.java b/lucene/core/src/java/org/apache/lucene/util/fst/PositiveIntOutputs.java
index 14b3da8dfe8..d205b90e3d2 100644
--- a/lucene/core/src/java/org/apache/lucene/util/fst/PositiveIntOutputs.java
+++ b/lucene/core/src/java/org/apache/lucene/util/fst/PositiveIntOutputs.java
@@ -109,7 +109,6 @@ public final class PositiveIntOutputs extends Outputs<Long> {
private boolean valid(Long o) {
assert o != null;
- assert o instanceof Long;
assert o == NO_OUTPUT || o > 0;
return true;
}