lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-3437) Detect the test thread by reference, not by name.
Date Thu, 15 Sep 2011 13:08:08 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-3437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13105317#comment-13105317
] 

Robert Muir commented on LUCENE-3437:
-------------------------------------

nice cleanup!

> Detect the test thread by reference, not by name.
> -------------------------------------------------
>
>                 Key: LUCENE-3437
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3437
>             Project: Lucene - Java
>          Issue Type: Sub-task
>            Reporter: Dawid Weiss
>            Assignee: Dawid Weiss
>            Priority: Trivial
>             Fix For: 3.5, 4.0
>
>         Attachments: LUCENE-3437.patch
>
>
> Get rid of this:
> {code}
>       if (doFail && (Thread.currentThread().getName().equals("main") 
>           || Thread.currentThread().getName().equals("Main Thread"))) {
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message