Add TODO comments for deprecation.

This commit is contained in:
김선우
2025-01-05 20:26:21 +09:00
parent 8e110da9c9
commit 038ea16d75
5 changed files with 9 additions and 0 deletions

View File

@@ -4,6 +4,9 @@ import org.github.tursodatabase.limbo.Connection;
import org.github.tursodatabase.limbo.Cursor;
import org.github.tursodatabase.limbo.Limbo;
/**
* TODO: Remove Main class. We can use test code to verify behaviors.
*/
public class Main {
public static void main(String[] args) throws Exception {
Limbo limbo = Limbo.create();

View File

@@ -6,6 +6,7 @@ package org.github.tursodatabase.exceptions;
* that may occur while communicating with the JNI.
* <p />
* Refer to ErrorCode in rust package.
* TODO: Deprecate
*/
public class ErrorCode {
public static int CONNECTION_FAILURE = -1;

View File

@@ -4,6 +4,7 @@ import java.lang.Exception;
/**
* Represents a connection to the database.
* TODO: Deprecate classes under limbo package. We leave this source code for reference.
*/
public class Connection {

View File

@@ -2,6 +2,7 @@ package org.github.tursodatabase.limbo;
/**
* Represents a database cursor.
* TODO: Deprecate classes under limbo package. We leave this source code for reference.
*/
public class Cursor {
private long cursorPtr;

View File

@@ -4,6 +4,9 @@ import org.github.tursodatabase.exceptions.ErrorCode;
import java.lang.Exception;
/**
* TODO: Deprecate classes under limbo package. We leave this source code for reference.
*/
public class Limbo {
private static volatile boolean initialized;