diff options
author | Bruce Momjian <bruce@momjian.us> | 2002-09-06 21:23:06 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2002-09-06 21:23:06 +0000 |
commit | f37c1c486a383a3d266598463e13958359dbcce9 (patch) | |
tree | 6ad11ea2a33bae8b485c084434cbde9fc35f374f /src/interfaces/jdbc/org/postgresql/jdbc2/Array.java | |
parent | b4295d052e81a246bd7b15f6bc4ad37bd7ab4e86 (diff) | |
download | postgresql-f37c1c486a383a3d266598463e13958359dbcce9.tar.gz |
Run pgjindent for Java folks.
Diffstat (limited to 'src/interfaces/jdbc/org/postgresql/jdbc2/Array.java')
-rw-r--r-- | src/interfaces/jdbc/org/postgresql/jdbc2/Array.java | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/interfaces/jdbc/org/postgresql/jdbc2/Array.java b/src/interfaces/jdbc/org/postgresql/jdbc2/Array.java index 94cc5aab59..cfaecc972b 100644 --- a/src/interfaces/jdbc/org/postgresql/jdbc2/Array.java +++ b/src/interfaces/jdbc/org/postgresql/jdbc2/Array.java @@ -27,7 +27,7 @@ public class Array implements java.sql.Array { private org.postgresql.PGConnection conn = null; private org.postgresql.Field field = null; - private ResultSet rs; + private ResultSet rs; private int idx = 0; private String rawString = null; @@ -44,7 +44,7 @@ public class Array implements java.sql.Array { this.conn = conn; this.field = field; - this.rs = rs; + this.rs = rs; this.idx = idx; this.rawString = ((AbstractJdbc2ResultSet)rs).getFixedString(idx); } @@ -76,9 +76,9 @@ public class Array implements java.sql.Array ArrayList array = new ArrayList(); /* Check if the String is also not an empty array - * otherwise there will be an exception thrown below - * in the ResultSet.toX with an empty string. - * -- Doug Fields <dfields-pg-jdbc@pexicom.com> Feb 20, 2002 */ + * otherwise there will be an exception thrown below + * in the ResultSet.toX with an empty string. + * -- Doug Fields <dfields-pg-jdbc@pexicom.com> Feb 20, 2002 */ if ( rawString != null && !rawString.equals("{}") ) { @@ -88,9 +88,9 @@ public class Array implements java.sql.Array boolean insideString = false; for ( int i = 0; i < chars.length; i++ ) { - if ( chars[i] == '\\' ) - //escape character that we need to skip - i++; + if ( chars[i] == '\\' ) + //escape character that we need to skip + i++; if ( chars[i] == '{' ) { if ( foundOpen ) // Only supports 1-D arrays for now |