SQLite Android Bindings

Check-in [6e0a73af53]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Re-enable logging in CloseGuard.java.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 6e0a73af5321c44206186542a7c0ea281d23887d
User & Date: dan 2013-12-26 18:29:17.948
Context
2013-12-30
14:48
Add the comment "Modified to support SQLite extensions by the SQLite developers: sqlite-dev@sqlite.org." to the top of all files in this project that were copied from Android and then modified. (check-in: 9c379550fd user: dan tags: trunk)
2013-12-26
18:29
Re-enable logging in CloseGuard.java. (check-in: 6e0a73af53 user: dan tags: trunk)
17:31
Disable connection pooling in SQLITE_HAS_CODEC builds. Add a test for the same. (check-in: 954e5a58f1 user: dan tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/org/sqlite/database/sqlite/CloseGuard.java.
11
12
13
14
15
16
17

18
19
20
21
22
23
24
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package dalvik.system;


/**
 * CloseGuard is a mechanism for flagging implicit finalizer cleanup of
 * resources that should have been cleaned up by explicit close
 * methods (aka "explicit termination methods" in Effective Java).
 * <p>
 * A simple example: <pre>   {@code







>







11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package dalvik.system;
import android.util.Log;

/**
 * CloseGuard is a mechanism for flagging implicit finalizer cleanup of
 * resources that should have been cleaned up by explicit close
 * methods (aka "explicit termination methods" in Effective Java).
 * <p>
 * A simple example: <pre>   {@code
220
221
222
223
224
225
226
227
228
229
230
    }

    /**
     * Default Reporter which reports CloseGuard violations to the log.
     */
    private static final class DefaultReporter implements Reporter {
        @Override public void report (String message, Throwable allocationSite) {
            /* System.logW(message, allocationSite); */
        }
    }
}







|



221
222
223
224
225
226
227
228
229
230
231
    }

    /**
     * Default Reporter which reports CloseGuard violations to the log.
     */
    private static final class DefaultReporter implements Reporter {
        @Override public void report (String message, Throwable allocationSite) {
            Log.w(message, allocationSite);
        }
    }
}