Github user dsmiley commented on a diff in the pull request:

    https://github.com/apache/lucene-solr/pull/105#discussion_r85608645
  
    --- Diff: 
lucene/highlighter/src/test/org/apache/lucene/search/uhighlight/visibility/TestUnifiedHighlighterExtensibility.java
 ---
    @@ -79,7 +90,7 @@ public void testFieldOffsetStrategyExtensibility() {
       @Test
       public void testUnifiedHighlighterExtensibility() {
         final int maxLength = 1000;
    -    UnifiedHighlighter uh = new UnifiedHighlighter(null, new 
MockAnalyzer(random())){
    +    UnifiedHighlighter uh = new UnifiedHighlighter(null, new 
MockAnalyzer(new Random())){
    --- End diff --
    
    ? why not `random()` ?  This will likely fail precommit.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to