rename variable

TAG has conventional meaning I'm about to take advantage of, so rename
the one variable that would conflict.
This commit is contained in:
Eric House 2016-11-22 21:46:42 -08:00
parent b8844a0e2d
commit 927c181ccc

View file

@ -117,7 +117,8 @@ public class DBHelper extends SQLiteOpenHelper {
public static final String SENDER = "SENDER"; public static final String SENDER = "SENDER";
public static final String MESSAGE = "MESSAGE"; public static final String MESSAGE = "MESSAGE";
public static final String TAG = "TAG"; // TAG is a thing in Android; don't wear it out
public static final String TAGG = "TAG";
private Context m_context; private Context m_context;
@ -224,7 +225,7 @@ public class DBHelper extends SQLiteOpenHelper {
private static final String[][] s_logsSchema = { private static final String[][] s_logsSchema = {
{ TIMESTAMP, "DATETIME DEFAULT CURRENT_TIMESTAMP" }, { TIMESTAMP, "DATETIME DEFAULT CURRENT_TIMESTAMP" },
{ MESSAGE, "TEXT" }, { MESSAGE, "TEXT" },
{ TAG, "TEXT" }, { TAGG, "TEXT" },
}; };
public DBHelper( Context context ) public DBHelper( Context context )