opennlp-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danielruss <...@git.apache.org>
Subject [GitHub] opennlp pull request #89: OPENNLP-963: Removed shadowing Map<> reportMap fro...
Date Wed, 25 Jan 2017 18:44:41 GMT
GitHub user danielruss opened a pull request:

    https://github.com/apache/opennlp/pull/89

    OPENNLP-963: Removed shadowing Map<> reportMap from AbstractEventTrainer

    Both the AbstractTrainer and AbstractEventTrainer have a reportMap.  The AbstractTrainer
reportMap is shadowed and can throw a NullPointerException when the addToReport method is
called.

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

    $ git pull https://github.com/danielruss/opennlp OpenNLP-963

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

    https://github.com/apache/opennlp/pull/89.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 #89
    
----
commit efc82067fc38ee7ae47a66d36740a56d3c8224d5
Author: Daniel Russ <druss@mail.nih.gov>
Date:   2017-01-25T18:38:05Z

    OPENNLP-963: Removed shadowing Map<> reportMap from AbstractEventTrainer

----


---
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