[GitHub] jena pull request #390: Bugfix Tutorial 6: Missing "/" at the end of an URI ...

2018-05-04 Thread asfgit
Github user asfgit closed the pull request at:

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


---


[GitHub] jena pull request #390: Bugfix Tutorial 6: Missing "/" at the end of an URI ...

2018-04-04 Thread supergitacc
GitHub user supergitacc opened a pull request:

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

Bugfix Tutorial 6: Missing "/" at the end of an URI resulted in a Nul…

I found a bug in tutorial 6 and propose a fix for it.

Without "/" at the end of the URI of JohnSmith 
(http://somewhere/JohnSmith/) an exception occurs in line 51 because no 
resource vcard could be found. The exception was: "Exception in thread "main" 
java.lang.NullPointerException". Adding the slash at the end fixes the issue 
because   http://somewhere/JohnSmith/;>

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

$ git pull https://github.com/supergitacc/jena patch-1

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

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


commit af2daa262b188030b87dfe12ac91a0e01c3d
Author: supergitacc 
Date:   2018-04-04T13:14:10Z

Bugfix Tutorial 6: Missing "/" at the end of an URI resulted in a 
NullPointerException

Without "/" at the end of the URI of JohnSmith 
(http://somewhere/JohnSmith/) an exception occurs in line 51 because no 
resource vcard could be found. The exception was: "Exception in thread "main" 
java.lang.NullPointerException". Adding the slash at the end fixes the issue 
because   http://somewhere/JohnSmith/;>




---