You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/11/21 17:42:11 UTC

[jira] [Commented] (JENA-1073) Dataset.addNamedModel -- remove throws clause

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

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

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

JENA-1073: Remove throws clause for addNamedModel.

> Dataset.addNamedModel -- remove throws clause
> ---------------------------------------------
>
>                 Key: JENA-1073
>                 URL: https://issues.apache.org/jira/browse/JENA-1073
>             Project: Apache Jena
>          Issue Type: Improvement
>    Affects Versions: Jena 3.0.0
>            Reporter: Andy Seaborne
>            Assignee: Andy Seaborne
>            Priority: Minor
>             Fix For: Jena 3.0.1
>
>
> {{addNamedModel}} does not ever throw {{LabelExistsException}} in the majority of cases, including all implementations in the Jena distribution.  Having it in the method signature is misleading.
> See [dev@ email|http://mail-archives.apache.org/mod_mbox/jena-dev/201511.mbox/%3CCAEyuBZvp4pbcdKzxnuJz08d%3DuEBrdKM8DAXDQEcnATCR7D7PEA%40mail.gmail.com%3E].



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)