lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chand2048 <...@git.apache.org>
Subject [GitHub] lucenenet pull request: Fix for TestDirectoryReaderReopen.TestThre...
Date Wed, 25 Feb 2015 22:24:18 GMT
GitHub user Chand2048 opened a pull request:

    https://github.com/apache/lucenenet/pull/112

    Fix for TestDirectoryReaderReopen.TestThreadSafety

    The java version uses a concurrent hash map so I updated VirtualMethod to use that.
    After that change, we no longer needed the lock on the Reap() function.
    Next the Get() needed to use a tryGet() and return the default if there was nothing in
the collection.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/guidotag/lucenenet TestThreadSafety2

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/lucenenet/pull/112.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #112
    
----
commit 9b57fca6a6961905204f41bef1b5fe784741a58b
Author: Chand2048 <chand@microsoft.com>
Date:   2015-02-25T22:21:16Z

    Fix for TestDirectoryReaderReopen.TestThreadSafety
    
    The java version uses a concurrent hash map so I updated VirtualMethod to use that.
    After that change, we no longer needed the lock on the Reap() function.
    Next the Get() needed to use a tryGet() and return the default if there was nothing in
the collection.

----


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message