OSDN Git Service

git-svn-id: http://www.xerial.org/svn/project/XerialJ/trunk/sqlite-jdbc@2849 ae02f08e...
authorleo <leo@ae02f08e-27ec-0310-ae8c-8ba02fe2eafd>
Mon, 19 Jan 2009 02:47:42 +0000 (02:47 +0000)
committerleo <leo@ae02f08e-27ec-0310-ae8c-8ba02fe2eafd>
Mon, 19 Jan 2009 02:47:42 +0000 (02:47 +0000)
src/main/java/org/sqlite/NativeDB.java

index e0d09bf..84feafc 100644 (file)
@@ -18,7 +18,6 @@ package org.sqlite;
 
 import java.sql.SQLException;
 
-
 /** This class provides a thin JNI layer over the SQLite3 C API. */
 final class NativeDB extends DB
 {
@@ -32,7 +31,7 @@ final class NativeDB extends DB
         if (loaded != null)
             return loaded == Boolean.TRUE;
 
-        return loaded = SQLiteJDBCLoader.initialize();
+        return loaded = Boolean.valueOf(SQLiteJDBCLoader.initialize());
 
         //        String libpath = System.getProperty("org.sqlite.lib.path");
         //        String libname = System.getProperty("org.sqlite.lib.name");