From 7a728eb36b6da84ffd1b475dd846c1aef6c1d87b Mon Sep 17 00:00:00 2001 From: Robert Muir Date: Tue, 25 Jun 2013 21:11:27 +0000 Subject: [PATCH] fix test to use only a single byte git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1496636 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/test/org/apache/lucene/index/TestMaxTermFrequency.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lucene/core/src/test/org/apache/lucene/index/TestMaxTermFrequency.java b/lucene/core/src/test/org/apache/lucene/index/TestMaxTermFrequency.java index 806145e4578..97dc661e446 100644 --- a/lucene/core/src/test/org/apache/lucene/index/TestMaxTermFrequency.java +++ b/lucene/core/src/test/org/apache/lucene/index/TestMaxTermFrequency.java @@ -107,7 +107,7 @@ public class TestMaxTermFrequency extends LuceneTestCase { @Override public long encodeNormValue(float f) { - return (long) f; + return (byte) f; } @Override