From: <tho...@us...> - 2010-12-21 20:02:23
|
Revision: 4036 http://bigdata.svn.sourceforge.net/bigdata/?rev=4036&view=rev Author: thompsonbry Date: 2010-12-21 20:02:17 +0000 (Tue, 21 Dec 2010) Log Message: ----------- The distinctTermScan needed to explicitly specify IV.class rather than permitting the generic type of the backing array to be decided at runtime by inspection of the first element to be inserted into that array. Modified Paths: -------------- branches/JOURNAL_HA_BRANCH/bigdata-rdf/src/java/com/bigdata/rdf/spo/SPORelation.java Modified: branches/JOURNAL_HA_BRANCH/bigdata-rdf/src/java/com/bigdata/rdf/spo/SPORelation.java =================================================================== --- branches/JOURNAL_HA_BRANCH/bigdata-rdf/src/java/com/bigdata/rdf/spo/SPORelation.java 2010-12-21 20:01:29 UTC (rev 4035) +++ branches/JOURNAL_HA_BRANCH/bigdata-rdf/src/java/com/bigdata/rdf/spo/SPORelation.java 2010-12-21 20:02:17 UTC (rev 4036) @@ -1354,8 +1354,9 @@ }); - return new ChunkedWrappedIterator<IV>(itr); - + return new ChunkedWrappedIterator<IV>(itr, + IChunkedIterator.DEFAULT_CHUNK_SIZE, IV.class); + } /** * Efficient scan of the distinct term identifiers that appear in the first This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |