diff options
author | Elliott Hughes <enh@google.com> | 2010-03-11 15:19:22 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2010-03-11 15:19:22 -0800 |
commit | a0a4196cb15480959f053d0ebe6b412bd23c8170 (patch) | |
tree | 595b311b2d5094447f13cc1613daf72b7043b6bd /sqlite-jdbc/src/main/java/SQLite/Stmt.java | |
parent | 720b81445bcc4d341c080365dcee65c8d8e1965c (diff) | |
download | libcore-a0a4196cb15480959f053d0ebe6b412bd23c8170.zip libcore-a0a4196cb15480959f053d0ebe6b412bd23c8170.tar.gz libcore-a0a4196cb15480959f053d0ebe6b412bd23c8170.tar.bz2 |
Fix all instances of "new Integer" (et cetera).
(This doesn't include libcore/xml/ because I don't want to get in the way there.)
Change-Id: I46f638105d26e82d09128fca605117322229e146
Diffstat (limited to 'sqlite-jdbc/src/main/java/SQLite/Stmt.java')
-rw-r--r-- | sqlite-jdbc/src/main/java/SQLite/Stmt.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sqlite-jdbc/src/main/java/SQLite/Stmt.java b/sqlite-jdbc/src/main/java/SQLite/Stmt.java index d60e6b0..f959ed2 100644 --- a/sqlite-jdbc/src/main/java/SQLite/Stmt.java +++ b/sqlite-jdbc/src/main/java/SQLite/Stmt.java @@ -227,7 +227,7 @@ public class Stmt { public Object column(int col) throws SQLite.Exception { switch (column_type(col)) { case Constants.SQLITE_INTEGER: - return new Long(column_long(col)); + return Long.valueOf(column_long(col)); // android-changed: performance case Constants.SQLITE_FLOAT: return new Double(column_double(col)); case Constants.SQLITE_BLOB: |