From: <tho...@us...> - 2014-01-04 19:48:06
|
Revision: 7719 http://bigdata.svn.sourceforge.net/bigdata/?rev=7719&view=rev Author: thompsonbry Date: 2014-01-04 19:47:59 +0000 (Sat, 04 Jan 2014) Log Message: ----------- Replaced test for ICloseableIterator with test for ICloseable. Modified Paths: -------------- branches/BIGDATA_RELEASE_1_3_0/bigdata/src/java/com/bigdata/bop/BOpUtility.java Modified: branches/BIGDATA_RELEASE_1_3_0/bigdata/src/java/com/bigdata/bop/BOpUtility.java =================================================================== --- branches/BIGDATA_RELEASE_1_3_0/bigdata/src/java/com/bigdata/bop/BOpUtility.java 2014-01-04 18:30:29 UTC (rev 7718) +++ branches/BIGDATA_RELEASE_1_3_0/bigdata/src/java/com/bigdata/bop/BOpUtility.java 2014-01-04 19:47:59 UTC (rev 7719) @@ -54,6 +54,7 @@ import cutthecrap.utils.striterators.EmptyIterator; import cutthecrap.utils.striterators.Expander; import cutthecrap.utils.striterators.Filter; +import cutthecrap.utils.striterators.ICloseable; import cutthecrap.utils.striterators.ICloseableIterator; import cutthecrap.utils.striterators.SingleValueIterator; import cutthecrap.utils.striterators.Striterator; @@ -988,9 +989,9 @@ } finally { - if (itr instanceof ICloseableIterator<?>) { + if (itr instanceof ICloseable) { - ((ICloseableIterator<?>) itr).close(); + ((ICloseable) itr).close(); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |