From: <tho...@us...> - 2012-08-14 20:28:29
|
Revision: 6445 http://bigdata.svn.sourceforge.net/bigdata/?rev=6445&view=rev Author: thompsonbry Date: 2012-08-14 20:28:23 +0000 (Tue, 14 Aug 2012) Log Message: ----------- Conditional logging in TestRDFXMLInterchangeWithStatementIdentifiers. VoiD : made the top-level method to request a description public. Modified Paths: -------------- branches/BIGDATA_RELEASE_1_2_0/bigdata-rdf/src/test/com/bigdata/rdf/rio/TestRDFXMLInterchangeWithStatementIdentifiers.java branches/BIGDATA_RELEASE_1_2_0/bigdata-sails/src/java/com/bigdata/rdf/sail/webapp/VoID.java Modified: branches/BIGDATA_RELEASE_1_2_0/bigdata-rdf/src/test/com/bigdata/rdf/rio/TestRDFXMLInterchangeWithStatementIdentifiers.java =================================================================== --- branches/BIGDATA_RELEASE_1_2_0/bigdata-rdf/src/test/com/bigdata/rdf/rio/TestRDFXMLInterchangeWithStatementIdentifiers.java 2012-08-14 19:57:11 UTC (rev 6444) +++ branches/BIGDATA_RELEASE_1_2_0/bigdata-rdf/src/test/com/bigdata/rdf/rio/TestRDFXMLInterchangeWithStatementIdentifiers.java 2012-08-14 20:28:23 UTC (rev 6445) @@ -395,7 +395,7 @@ final IAccessPath<ISPO> ap = store.getAccessPath(null, rdfType, Software); - log.info(store.dumpStatements(ap).toString()); + if(log.isInfoEnabled()) log.info(store.dumpStatements(ap).toString()); assertEquals("rangeCount", 3L, ap.rangeCount(true/* exact */)); Modified: branches/BIGDATA_RELEASE_1_2_0/bigdata-sails/src/java/com/bigdata/rdf/sail/webapp/VoID.java =================================================================== --- branches/BIGDATA_RELEASE_1_2_0/bigdata-sails/src/java/com/bigdata/rdf/sail/webapp/VoID.java 2012-08-14 19:57:11 UTC (rev 6444) +++ branches/BIGDATA_RELEASE_1_2_0/bigdata-sails/src/java/com/bigdata/rdf/sail/webapp/VoID.java 2012-08-14 20:28:23 UTC (rev 6445) @@ -145,7 +145,8 @@ } /** - * Describe the default data set. + * Describe the default data set (the one identified by the namespace + * associated with the {@link AbstractTripleStore}. * * @param describeStatistics * When <code>true</code>, the VoID description will include the @@ -157,7 +158,7 @@ * described in in the same level of detail as the default graph. * Otherwise only the default graph will be described. */ - protected void describeDataSet(final boolean describeStatistics, + public void describeDataSet(final boolean describeStatistics, final boolean describeNamedGraphs) { final String namespace = tripleStore.getNamespace(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |