Github user afs commented on a diff in the pull request:

    https://github.com/apache/jena/pull/63#discussion_r30086187
  
    --- Diff: jena-core/src/main/java/jena/rdfcompare.java ---
    @@ -108,11 +105,6 @@ protected static void usage() {
         
         protected static void read(Model model, String in, String lang) 
           throws java.io.FileNotFoundException {
    -        try {
    -            URL url = new URL(in);
    -            model.read(in, lang);
    -        } catch (java.net.MalformedURLException e) {
    -            model.read(new FileInputStream(in), "", lang);
    -        }
    +        model.read(in, lang);
    --- End diff --
    
    An historical note: 
    
    That is a way to handle URLs and plain file names.  It only works as plain 
`model.read(in, lang);` if RIOT is around otherwise there is no HTTP processing 
of `model.read(String, .....`


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