GitHub user stain opened a pull request:

    https://github.com/apache/incubator-commonsrdf/pull/20

    Added SimpleRDFTerm marker interface

    Now internallyMap() will fail early on mapping
    any RDFTerm objects which are not IRI, BlankNode or Literal
    (before they would have been added 'as-is')
    
    This also fixes a bug in that Graph would have remapped
    any of the Types instances to an IRIImpl.
    
    I added SimpleRDFTerm interface as a package-protected
    interface within SimpleRDFTermFactory - thus it should not
    be easy to create any additional SimpleRDFTerm subclasses.

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

    $ git pull https://github.com/apache/incubator-commonsrdf SimpleRDFTerm

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

    https://github.com/apache/incubator-commonsrdf/pull/20.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 #20
    
----
commit 0a148cbab0c3c35aec9bd7dbd2b61029066d19a4
Author: Stian Soiland-Reyes <[email protected]>
Date:   2016-04-08T15:18:26Z

    Added SimpleRDFTerm marker interface
    
    Now internallyMap() will fail early on mapping
    any RDFTerm objects which are not IRI, BlankNode or Literal
    (before they would have been added 'as-is')
    
    This also fixes a bug in that Graph would have remapped
    any of the Types instances to an IRIImpl.
    
    I added SimpleRDFTerm interface as a package-protected
    interface within SimpleRDFTermFactory - thus it should not
    be easy to create any additional SimpleRDFTerm subclasses.

----


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

Reply via email to