[GitHub] jena pull request #368: JENA-1495 Return Model from PrefixMapping methods.

2018-03-02 Thread jaco0646
GitHub user jaco0646 opened a pull request:

https://github.com/apache/jena/pull/368

JENA-1495 Return Model from PrefixMapping methods.



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

$ git pull https://github.com/jaco0646/jena Covariant-Model-Methods

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

https://github.com/apache/jena/pull/368.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 #368


commit db778544bf71099447b4126daebf5e0df79c3e3c
Author: jaco0646 <jacobs_007@...>
Date:   2018-03-03T01:06:51Z

Return Model from PrefixMapping methods.




---


[GitHub] jena pull request #368: JENA-1495 Return Model from PrefixMapping methods.

2018-03-05 Thread jaco0646
Github user jaco0646 commented on a diff in the pull request:

https://github.com/apache/jena/pull/368#discussion_r172364101
  
--- Diff: jena-core/src/main/java/org/apache/jena/rdf/model/Model.java ---
@@ -1051,4 +1051,12 @@ Remove all the statements matching (s, p, o) from 
this model.
 Answer true iff .close() has been called on this Model.
 */
 public boolean isClosed();
+
+// Override return type for methods inherited from PrefixMapping
--- End diff --

Done.


---