8066188: BaseRowSet default value for escape processing is not correct

Reviewed-by: alanb
This commit is contained in:
Lance Andersen 2014-11-29 11:14:20 -05:00
parent f0b198804a
commit db7c757726
2 changed files with 3 additions and 3 deletions

View File

@ -462,7 +462,7 @@ public abstract class BaseRowSet implements Serializable, Cloneable {
* <code>false</code> that it is not. The default is <code>true</code>.
* @serial
*/
private boolean escapeProcessing;
private boolean escapeProcessing = true;
/**
* A constant indicating the isolation level of the connection

View File

@ -186,11 +186,11 @@ public class BaseRowSetTests extends BaseTest {
}
/*
* Validate that getEscapeProcessing() returns false by default
* Validate that getEscapeProcessing() returns true by default
*/
@Test
public void test08() throws Exception {
assertFalse(brs.getEscapeProcessing());
assertTrue(brs.getEscapeProcessing());
}
/*