[
https://issues.apache.org/jira/browse/JENA-846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14273124#comment-14273124
]
ASF GitHub Bot commented on JENA-846:
-------------------------------------
GitHub user stain opened a pull request:
https://github.com/apache/jena/pull/18
Create iri from uri
Adds `IRIfactoryI.create(java.lang.URI)` to complement JENA-846
`IRI.toURI()`.
I believe I don't need the special case `if (! uri.isAbsolute())` - see
second commit
d0c4669.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/stain/jena create-iri-from-uri
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/jena/pull/18.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 #18
----
commit 56e1fdff987eafd3a123f20f00e2ad875e12b1a5
Author: Stian Soiland-Reyes <[email protected]>
Date: 2015-01-12T00:50:38Z
Added IRIFactoryI.create(java.net.URI)
commit d0c4669a04cdb208759c888d1f0af1520538461e
Author: Stian Soiland-Reyes <[email protected]>
Date: 2015-01-12T00:51:27Z
Probably no need for uri.isAbsolute() special case
----
> Add IRI.toUri
> --------------
>
> Key: JENA-846
> URL: https://issues.apache.org/jira/browse/JENA-846
> Project: Apache Jena
> Issue Type: New Feature
> Components: IRI
> Affects Versions: Jena 2.12.1
> Reporter: Andy Seaborne
> Priority: Minor
> Attachments: iri-uri.patch
>
>
> See discussion from:
> http://mail-archives.apache.org/mod_mbox/jena-users/201501.mbox/%3C54AE8658.3040205%40apache.org%3E
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)