[GitHub] jena issue #363: JENA-1491: Migrate FindBugs to StopBugs

2018-02-27 Thread afs
Github user afs commented on the issue:

https://github.com/apache/jena/pull/363
  
Please resolve the JIRA. Thanks.


---


[jira] [Commented] (JENA-1491) Migrate FindBugs to StopBugs

2018-02-27 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/JENA-1491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16379426#comment-16379426
 ] 

ASF GitHub Bot commented on JENA-1491:
--

Github user afs commented on the issue:

https://github.com/apache/jena/pull/363
  
Please resolve the JIRA. Thanks.


> Migrate FindBugs to StopBugs
> 
>
> Key: JENA-1491
> URL: https://issues.apache.org/jira/browse/JENA-1491
> Project: Apache Jena
>  Issue Type: Task
>  Components: Build
>Affects Versions: Jena 3.6.0
>Reporter: A. Soroka
>Assignee: A. Soroka
>Priority: Trivial
> Fix For: Jena 3.7.0
>
>
> FindBugs is moribund:
> [https://mailman.cs.umd.edu/pipermail/findbugs-discuss/2016-November/004321.html]
> but the work of that project continues in the much livelier SpotBugs project:
> [https://spotbugs.github.io/]
> We just need to make a few small Maven tweaks to switch over. He wrote 
> hopefully.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] jena pull request #366: JENA-1494: Reader properties

2018-02-27 Thread asfgit
Github user asfgit closed the pull request at:

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


---


[GitHub] jena pull request #365: JENA-1490: Handle blank nodes client-server when usi...

2018-02-27 Thread asfgit
Github user asfgit closed the pull request at:

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


---


[jira] [Commented] (JENA-1494) Allow setting of RDF/XML Reader properties when using RIOT.

2018-02-27 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/JENA-1494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16379462#comment-16379462
 ] 

ASF subversion and git services commented on JENA-1494:
---

Commit e9eb97fdfe7f9e3e738ff5fbac2f53ddee5c15ad in jena's branch 
refs/heads/master from [~andy.seaborne]
[ https://git-wip-us.apache.org/repos/asf?p=jena.git;h=e9eb97f ]

Examples RDF/XML handling.

JENA-1168, JENA-1494.


> Allow setting of RDF/XML Reader properties when using RIOT.
> ---
>
> Key: JENA-1494
> URL: https://issues.apache.org/jira/browse/JENA-1494
> Project: Apache Jena
>  Issue Type: Improvement
>  Components: RIOT
>Affects Versions: Jena 3.6.0
>Reporter: Andy Seaborne
>Assignee: Andy Seaborne
>Priority: Major
> Fix For: Jena 3.7.0
>
>
> RIOT does not currently have a mechanism for setting the ARP (Jena's RDF/XML 
> parser) properties. Of all the parsers, only ARP has properties to set. The 
> RIOT/ARP bridge , {{ReaderRIOTRDFXML}}, has no mechanism for passing 
> property/value settings to ARP.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (JENA-1494) Allow setting of RDF/XML Reader properties when using RIOT.

2018-02-27 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/JENA-1494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16379464#comment-16379464
 ] 

ASF GitHub Bot commented on JENA-1494:
--

Github user asfgit closed the pull request at:

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


> Allow setting of RDF/XML Reader properties when using RIOT.
> ---
>
> Key: JENA-1494
> URL: https://issues.apache.org/jira/browse/JENA-1494
> Project: Apache Jena
>  Issue Type: Improvement
>  Components: RIOT
>Affects Versions: Jena 3.6.0
>Reporter: Andy Seaborne
>Assignee: Andy Seaborne
>Priority: Major
> Fix For: Jena 3.7.0
>
>
> RIOT does not currently have a mechanism for setting the ARP (Jena's RDF/XML 
> parser) properties. Of all the parsers, only ARP has properties to set. The 
> RIOT/ARP bridge , {{ReaderRIOTRDFXML}}, has no mechanism for passing 
> property/value settings to ARP.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (JENA-1168) RIOT RDFWriter does not pass on properties.

2018-02-27 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/JENA-1168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16379461#comment-16379461
 ] 

ASF subversion and git services commented on JENA-1168:
---

Commit e9eb97fdfe7f9e3e738ff5fbac2f53ddee5c15ad in jena's branch 
refs/heads/master from [~andy.seaborne]
[ https://git-wip-us.apache.org/repos/asf?p=jena.git;h=e9eb97f ]

Examples RDF/XML handling.

JENA-1168, JENA-1494.


> RIOT RDFWriter does not pass on properties.
> ---
>
> Key: JENA-1168
> URL: https://issues.apache.org/jira/browse/JENA-1168
> Project: Apache Jena
>  Issue Type: Bug
>  Components: RIOT
>Affects Versions: Jena 3.0.1
>Reporter: Andy Seaborne
>Assignee: Andy Seaborne
>Priority: Major
> Fix For: Jena 3.1.0
>
>
> {noformat}
> public static void main(String... args) throws Exception {
> Model model = RDFDataMgr.loadModel("/home/afs/tmp/D.ttl") ;
> //RDFWriter rdfWriter = new 
> org.apache.jena.rdfxml.xmloutput.impl.Abbreviated() ;
> RDFWriter rdfWriter = model.getWriter("RDF/XML-ABBREV");
> rdfWriter.setProperty("showXmlDeclaration", "true");
> rdfWriter.setProperty("showDoctypeDeclaration", "true");
> rdfWriter.write(model, System.out, null);
> }
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (JENA-1494) Allow setting of RDF/XML Reader properties when using RIOT.

2018-02-27 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/JENA-1494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16379460#comment-16379460
 ] 

ASF subversion and git services commented on JENA-1494:
---

Commit 9237d24a99617c219ce9d4a4ab085621be3784d4 in jena's branch 
refs/heads/master from [~andy.seaborne]
[ https://git-wip-us.apache.org/repos/asf?p=jena.git;h=9237d24 ]

JENA-1494: ARP property setting from RIOT.

> Allow setting of RDF/XML Reader properties when using RIOT.
> ---
>
> Key: JENA-1494
> URL: https://issues.apache.org/jira/browse/JENA-1494
> Project: Apache Jena
>  Issue Type: Improvement
>  Components: RIOT
>Affects Versions: Jena 3.6.0
>Reporter: Andy Seaborne
>Assignee: Andy Seaborne
>Priority: Major
> Fix For: Jena 3.7.0
>
>
> RIOT does not currently have a mechanism for setting the ARP (Jena's RDF/XML 
> parser) properties. Of all the parsers, only ARP has properties to set. The 
> RIOT/ARP bridge , {{ReaderRIOTRDFXML}}, has no mechanism for passing 
> property/value settings to ARP.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (JENA-1490) Working with Blank Nodes with Fuseki

2018-02-27 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/JENA-1490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16379463#comment-16379463
 ] 

ASF GitHub Bot commented on JENA-1490:
--

Github user asfgit closed the pull request at:

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


> Working with Blank Nodes with Fuseki
> 
>
> Key: JENA-1490
> URL: https://issues.apache.org/jira/browse/JENA-1490
> Project: Apache Jena
>  Issue Type: Improvement
>  Components: ARQ
>Affects Versions: Jena 3.6.0
>Reporter: Andy Seaborne
>Assignee: Andy Seaborne
>Priority: Major
>
> Be able to work with blank nodes between client and Fuseki server.
> This ticket is mainly about pulling together existing mechanisms.
> This would be a new {{RDFConnectionFactory}} function to return a 
> {{RDFConnection}} with the right settings for presevring blank node id. 
> Having a new {{RDFConnectionFuseki}}, subclass of {{RDFConnectionRemote}}, to 
> handle the right settings and not simply option for {{RDFConnectionRemote}}, 
> because it is than a place for future Fuseki-specific operations.
>   
>  When working with a Fuseki remote:
>  * Use RDF Thrift (RDF and Result set forms) for efficiency
>  * Preserve blank node ids.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (JENA-1494) Allow setting of RDF/XML Reader properties when using RIOT.

2018-02-27 Thread Andy Seaborne (JIRA)

 [ 
https://issues.apache.org/jira/browse/JENA-1494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andy Seaborne resolved JENA-1494.
-
Resolution: Fixed

> Allow setting of RDF/XML Reader properties when using RIOT.
> ---
>
> Key: JENA-1494
> URL: https://issues.apache.org/jira/browse/JENA-1494
> Project: Apache Jena
>  Issue Type: Improvement
>  Components: RIOT
>Affects Versions: Jena 3.6.0
>Reporter: Andy Seaborne
>Assignee: Andy Seaborne
>Priority: Major
> Fix For: Jena 3.7.0
>
>
> RIOT does not currently have a mechanism for setting the ARP (Jena's RDF/XML 
> parser) properties. Of all the parsers, only ARP has properties to set. The 
> RIOT/ARP bridge , {{ReaderRIOTRDFXML}}, has no mechanism for passing 
> property/value settings to ARP.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (JENA-1490) Working with Blank Nodes with Fuseki

2018-02-27 Thread Andy Seaborne (JIRA)

 [ 
https://issues.apache.org/jira/browse/JENA-1490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andy Seaborne resolved JENA-1490.
-
   Resolution: Fixed
Fix Version/s: Jena 3.7.0

> Working with Blank Nodes with Fuseki
> 
>
> Key: JENA-1490
> URL: https://issues.apache.org/jira/browse/JENA-1490
> Project: Apache Jena
>  Issue Type: Improvement
>  Components: ARQ
>Affects Versions: Jena 3.6.0
>Reporter: Andy Seaborne
>Assignee: Andy Seaborne
>Priority: Major
> Fix For: Jena 3.7.0
>
>
> Be able to work with blank nodes between client and Fuseki server.
> This ticket is mainly about pulling together existing mechanisms.
> This would be a new {{RDFConnectionFactory}} function to return a 
> {{RDFConnection}} with the right settings for presevring blank node id. 
> Having a new {{RDFConnectionFuseki}}, subclass of {{RDFConnectionRemote}}, to 
> handle the right settings and not simply option for {{RDFConnectionRemote}}, 
> because it is than a place for future Fuseki-specific operations.
>   
>  When working with a Fuseki remote:
>  * Use RDF Thrift (RDF and Result set forms) for efficiency
>  * Preserve blank node ids.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (JENA-1491) Migrate FindBugs to StopBugs

2018-02-27 Thread A. Soroka (JIRA)

 [ 
https://issues.apache.org/jira/browse/JENA-1491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

A. Soroka resolved JENA-1491.
-
Resolution: Fixed

Sorry!

> Migrate FindBugs to StopBugs
> 
>
> Key: JENA-1491
> URL: https://issues.apache.org/jira/browse/JENA-1491
> Project: Apache Jena
>  Issue Type: Task
>  Components: Build
>Affects Versions: Jena 3.6.0
>Reporter: A. Soroka
>Assignee: A. Soroka
>Priority: Trivial
> Fix For: Jena 3.7.0
>
>
> FindBugs is moribund:
> [https://mailman.cs.umd.edu/pipermail/findbugs-discuss/2016-November/004321.html]
> but the work of that project continues in the much livelier SpotBugs project:
> [https://spotbugs.github.io/]
> We just need to make a few small Maven tweaks to switch over. He wrote 
> hopefully.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (JENA-1495) Covariant return type for Model's PrefixMapping methods.

2018-02-27 Thread Adam Jacobs (JIRA)
Adam Jacobs created JENA-1495:
-

 Summary: Covariant return type for Model's PrefixMapping methods.
 Key: JENA-1495
 URL: https://issues.apache.org/jira/browse/JENA-1495
 Project: Apache Jena
  Issue Type: Improvement
  Components: Core
Affects Versions: Jena 3.6.0
Reporter: Adam Jacobs


The {{Model}} interface inherits several methods from {{PrefixMapping}} which 
return {{this}}.
 The return type of these methods can be refined to allow call chaining with 
the {{Model}} object.

There appear to be two concrete implementations of {{Model}} which override the 
{{PrefixMapping}} methods: {{ModelCom}} and {{SecuredModelImpl}}. Steps to add 
covariant return types for prefix mapping are as follows.

Add these six methods to the Model interface.
 # Model setNsPrefix( String prefix, String uri );
 # Model removeNsPrefix( String prefix );
 # Model clearNsPrefixMap();
 # Model setNsPrefixes( PrefixMapping other );
 # Model setNsPrefixes( Map map );
 # Model withDefaultMappings( PrefixMapping map );

...and update ModelCom accordingly.

Add these six methods to the SecuredModel interface.
 # SecuredModel setNsPrefix( String prefix, String uri );
 # SecuredModel removeNsPrefix( String prefix ); // This method is already 
defined.
 # SecuredModel clearNsPrefixMap();
 # SecuredModel setNsPrefixes( PrefixMapping other );
 # SecuredModel setNsPrefixes( Map map );
 # SecuredModel withDefaultMappings( PrefixMapping map );

...and update SecuredModelImpl accordingly.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)