< prev index next >

src/java.sql.rowset/share/classes/javax/sql/rowset/serial/SerialBlob.java

Print this page
rev 11896 : [mq]: 8074657-Missing-space-on-a-boundary-of-concatenated-strings

*** 465,475 **** isValid(); if (pos < 1 || pos > this.length()) { throw new SerialException("Invalid position in BLOB object set"); } if (length < 1 || length > len - pos + 1) { ! throw new SerialException("length is < 1 or pos + length >" + "total number of bytes"); } return new ByteArrayInputStream(buf, (int) pos - 1, (int) length); } --- 465,475 ---- isValid(); if (pos < 1 || pos > this.length()) { throw new SerialException("Invalid position in BLOB object set"); } if (length < 1 || length > len - pos + 1) { ! throw new SerialException("length is < 1 or pos + length > " + "total number of bytes"); } return new ByteArrayInputStream(buf, (int) pos - 1, (int) length); }
< prev index next >