Skip to content

Commit

Permalink
refactor: clean up imports for Android
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher J. Brody committed Mar 2, 2021
1 parent cd0d4f8 commit ff1c16d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

### cordova-sqlite-storage-commoncore 2.0.0-dev

- refactor: clean up imports for Android
- Fix plugin param name for macOS ("osx") - *tested* with Cordova 9 and cordova-osx@5
- Drop support for Windows on ARM (Windows Mobile)

Expand Down
3 changes: 2 additions & 1 deletion src/android/io/sqlc/SQLiteAndroidDatabase.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
import android.database.CursorWindow;

import android.database.sqlite.SQLiteConstraintException;
import android.database.sqlite.SQLiteCursor;
// no longer needed - for pre-Honeycomb NO LONGER SUPPORTED:
// import android.database.sqlite.SQLiteCursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteException;
import android.database.sqlite.SQLiteStatement;
Expand Down
4 changes: 0 additions & 4 deletions src/android/io/sqlc/SQLiteConnectorDatabase.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,10 @@

import java.io.File;

import java.lang.IllegalArgumentException;
import java.lang.Number;

import java.sql.SQLException;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

import org.apache.cordova.CallbackContext;

import org.json.JSONArray;
Expand Down
2 changes: 1 addition & 1 deletion src/android/io/sqlc/SQLitePlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
import java.io.File;

import java.lang.IllegalArgumentException;
import java.lang.Number;

import java.util.Map;

import java.util.concurrent.BlockingQueue;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.LinkedBlockingQueue;
Expand Down

0 comments on commit ff1c16d

Please sign in to comment.