From: <my...@us...> - 2010-05-26 16:55:32
|
Revision: 2346 http://aperture.svn.sourceforge.net/aperture/?rev=2346&view=rev Author: mylka Date: 2010-05-26 16:55:26 +0000 (Wed, 26 May 2010) Log Message: ----------- [2989040] made the RDFContainerFactoryImpls return instances of RDFContainer and not RDFContainerImpl. Modified Paths: -------------- aperture/trunk/core/src/main/java/org/semanticdesktop/aperture/rdf/impl/RDFContainerFactoryImpl.java Modified: aperture/trunk/core/src/main/java/org/semanticdesktop/aperture/rdf/impl/RDFContainerFactoryImpl.java =================================================================== --- aperture/trunk/core/src/main/java/org/semanticdesktop/aperture/rdf/impl/RDFContainerFactoryImpl.java 2010-05-26 16:46:03 UTC (rev 2345) +++ aperture/trunk/core/src/main/java/org/semanticdesktop/aperture/rdf/impl/RDFContainerFactoryImpl.java 2010-05-26 16:55:26 UTC (rev 2346) @@ -11,6 +11,7 @@ import org.ontoware.rdf2go.exception.ModelRuntimeException; import org.ontoware.rdf2go.model.Model; import org.ontoware.rdf2go.model.node.URI; +import org.semanticdesktop.aperture.rdf.RDFContainer; import org.semanticdesktop.aperture.rdf.RDFContainerFactory; /** @@ -25,7 +26,7 @@ factory = RDF2Go.getModelFactory(); } - public RDFContainerImpl newInstance(String uri) { + public RDFContainer newInstance(String uri) { try { Model newModel = factory.createModel(); newModel.open(); @@ -36,7 +37,7 @@ } } - public RDFContainerImpl newInstance(URI uri) { + public RDFContainer newInstance(URI uri) { try { Model newModel = factory.createModel(); newModel.open(); @@ -47,7 +48,7 @@ } } - public RDFContainerImpl getRDFContainer(URI uri) { + public RDFContainer getRDFContainer(URI uri) { return newInstance(uri); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |