Skip to content

Commit fe33813

Browse files
committed
Add generic type
1 parent 2d2ad31 commit fe33813

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lucene/core/src/java/org/apache/lucene/util/fst/NodeHash.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public long add(FSTCompiler.UnCompiledNode<T> nodeIn) throws IOException {
117117
// not in fallback either -- freeze & add the incoming node
118118

119119
// freeze & add
120-
FSTCompiler.NodeAndBuffer nodeAndBuffer = fstCompiler.addNode(nodeIn, true);
120+
FSTCompiler<T>.NodeAndBuffer nodeAndBuffer = fstCompiler.addNode(nodeIn, true);
121121
node = nodeAndBuffer.nodeAddress;
122122

123123
// we use 0 as empty marker in hash table, so it better be impossible to get a frozen node
@@ -293,8 +293,8 @@ private void rehash(long lastNodeAddress) throws IOException {
293293
}
294294

295295
/**
296-
* Compares an unfrozen node (UnCompiledNode) with a frozen node at byte location address (long),
297-
* returning true if they are equal.
296+
* Compares an unfrozen node (UnCompiledNode) with a frozen node at byte location address
297+
* (long), returning true if they are equal.
298298
*/
299299
private boolean nodesEqual(FSTCompiler.UnCompiledNode<T> node, long address)
300300
throws IOException {

0 commit comments

Comments
 (0)