Jan Martin Keil created JENA-1687:
-------------------------------------
Summary: Precise return types of NodeFactory methods
Key: JENA-1687
URL: https://issues.apache.org/jira/browse/JENA-1687
Project: Apache Jena
Issue Type: Improvement
Reporter: Jan Martin Keil
I propose to precise the return types of the NodeFactory methods, e.g. to set
NodeFactory#createURI return type to Node_URI. This makes the developers life
easier, as there is no longer a need to cast after creating a Node, if one need
a specific node type. I can not see any disadvantages and it should be backward
compatible (except of classes that override these methods).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)