From: <jm...@us...> - 2012-06-29 16:26:03
|
Revision: 16759 http://exist.svn.sourceforge.net/exist/?rev=16759&view=rev Author: jmfg Date: 2012-06-29 16:25:57 +0000 (Fri, 29 Jun 2012) Log Message: ----------- [bugfix] The wrong InputStream was marked. Modified Paths: -------------- trunk/eXist/src/org/exist/xquery/value/BinaryValueFromInputStream.java Modified: trunk/eXist/src/org/exist/xquery/value/BinaryValueFromInputStream.java =================================================================== --- trunk/eXist/src/org/exist/xquery/value/BinaryValueFromInputStream.java 2012-06-29 14:33:41 UTC (rev 16758) +++ trunk/eXist/src/org/exist/xquery/value/BinaryValueFromInputStream.java 2012-06-29 16:25:57 UTC (rev 16759) @@ -43,7 +43,7 @@ } //mark the start of the stream so that we can re-read again as required - is.mark(Integer.MAX_VALUE); + this.is.mark(Integer.MAX_VALUE); } public static BinaryValueFromInputStream getInstance(BinaryValueManager manager, BinaryValueType binaryValueType, InputStream is) throws XPathException { @@ -92,4 +92,4 @@ is.close(); } } -} \ No newline at end of file +} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |