blob: 3b001c285b40d438b22b887b71306aebc26b7f9d [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<issues format="5" by="lint 4.2.0-alpha06" client="gradle" variant="debug" version="4.2.0-alpha06">
<issue
id="BanSynchronizedMethods"
message="Use of synchronized methods is not recommended"
errorLine1=" synchronized SupportSQLiteDatabase getWritableSupportDatabase() {"
errorLine2=" ^">
<location
file="src/main/java/androidx/sqlite/db/framework/FrameworkSQLiteOpenHelper.java"
line="143"
column="9"/>
</issue>
<issue
id="BanSynchronizedMethods"
message="Use of synchronized methods is not recommended"
errorLine1=" synchronized SupportSQLiteDatabase getReadableSupportDatabase() {"
errorLine2=" ^">
<location
file="src/main/java/androidx/sqlite/db/framework/FrameworkSQLiteOpenHelper.java"
line="154"
column="9"/>
</issue>
<issue
id="BanSynchronizedMethods"
message="Use of synchronized methods is not recommended"
errorLine1=" @Override"
errorLine2=" ^">
<location
file="src/main/java/androidx/sqlite/db/framework/FrameworkSQLiteOpenHelper.java"
line="199"
column="9"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 16, the call containing class androidx.sqlite.db.framework.FrameworkSQLiteDatabase is not annotated with @RequiresApi(x) where x is at least 16. Either annotate the containing class with at least @RequiresApi(16) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(16)."
errorLine1=" return mDelegate.rawQueryWithFactory(new SQLiteDatabase.CursorFactory() {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/sqlite/db/framework/FrameworkSQLiteDatabase.java"
line="175"
column="26"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 16, the call containing class androidx.sqlite.db.framework.FrameworkSQLiteDatabase is not annotated with @RequiresApi(x) where x is at least 16. Either annotate the containing class with at least @RequiresApi(16) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(16)."
errorLine1=" mDelegate.setForeignKeyConstraintsEnabled(enable);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/sqlite/db/framework/FrameworkSQLiteDatabase.java"
line="283"
column="19"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 16, the call containing class androidx.sqlite.db.framework.FrameworkSQLiteDatabase is not annotated with @RequiresApi(x) where x is at least 16. Either annotate the containing class with at least @RequiresApi(16) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(16)."
errorLine1=" mDelegate.disableWriteAheadLogging();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/sqlite/db/framework/FrameworkSQLiteDatabase.java"
line="294"
column="19"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 16, the call containing class androidx.sqlite.db.framework.FrameworkSQLiteDatabase is not annotated with @RequiresApi(x) where x is at least 16. Either annotate the containing class with at least @RequiresApi(16) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(16)."
errorLine1=" return mDelegate.isWriteAheadLoggingEnabled();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/sqlite/db/framework/FrameworkSQLiteDatabase.java"
line="300"
column="26"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 21, the call containing class androidx.sqlite.db.framework.FrameworkSQLiteOpenHelper is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)."
errorLine1=" File file = new File(mContext.getNoBackupFilesDir(), mName);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/sqlite/db/framework/FrameworkSQLiteOpenHelper.java"
line="75"
column="51"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 16, the call containing class androidx.sqlite.db.framework.FrameworkSQLiteOpenHelper is not annotated with @RequiresApi(x) where x is at least 16. Either annotate the containing class with at least @RequiresApi(16) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(16)."
errorLine1=" mDelegate.setWriteAheadLoggingEnabled(mWriteAheadLoggingEnabled);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/sqlite/db/framework/FrameworkSQLiteOpenHelper.java"
line="81"
column="31"/>
</issue>
<issue
id="UnsafeNewApiCall"
message="This call is to a method from API 16, the call containing class androidx.sqlite.db.framework.FrameworkSQLiteOpenHelper is not annotated with @RequiresApi(x) where x is at least 16. Either annotate the containing class with at least @RequiresApi(16) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(16)."
errorLine1=" mDelegate.setWriteAheadLoggingEnabled(enabled);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/sqlite/db/framework/FrameworkSQLiteOpenHelper.java"
line="98"
column="27"/>
</issue>
</issues>