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

Hudson commented on JENA-372:
-----------------------------

Integrated in Jena__Development_Test #392 (See 
[https://builds.apache.org/job/Jena__Development_Test/392/])
    JENA-372 : Remove dependency on EnhNode by UnsupportedPolymorphismException 
(Revision 1432473)

     Result = SUCCESS
andy : 
Files : 
* /jena/trunk/jena-core/src/main/java/com/hp/hpl/jena/enhanced/EnhNode.java
* 
/jena/trunk/jena-core/src/main/java/com/hp/hpl/jena/enhanced/UnsupportedPolymorphismException.java
* 
/jena/trunk/jena-core/src/test/java/com/hp/hpl/jena/enhanced/test/TestPackage.java

                
> UnsupportedPolymorphismException has implicit dependency on EnhNode
> -------------------------------------------------------------------
>
>                 Key: JENA-372
>                 URL: https://issues.apache.org/jira/browse/JENA-372
>             Project: Apache Jena
>          Issue Type: Sub-task
>          Components: Jena
>    Affects Versions: Jena 2.7.4, Jena 2.10.0
>            Reporter: Claude Warren
>            Assignee: Andy Seaborne
>         Attachments: jena-372.patch
>
>
> Currently UnsupportedPolymorphismException requires a EnhNode in the 
> constructor and for getBadGraph() which is only used in a test case.  
> UnsupportedPolymorphismException is specified in the Model interface so 
> should not be dependent upon a specific implementation of Model.
> Suggested implementation: 
> 1. change contstructor to pass the EnhNode as an Object so that other 
> implementations may pass their model implementation,
> 2. add a flag to indicate that a graph was present or not in the model 
> implementation -- this will allow the message to be properly constructed.
> 3.  Remove getBadGraph() and let the test case that needs it use 
> getBadClass().getGraph() to get the graph from the model.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to