From 43505eadf761f074e2188bdcf4d308fa1e107419 Mon Sep 17 00:00:00 2001 From: "Felix X. Fant" Date: Sun, 8 Dec 2013 22:52:53 -0500 Subject: [PATCH] Minor changes for AlertDBTest.java to work --- src/com/uncc/gameday/alerts/Alert.java | 2 +- src/com/uncc/gameday/alerts/AlertDB.java | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/com/uncc/gameday/alerts/Alert.java b/src/com/uncc/gameday/alerts/Alert.java index ba78e63..afa1c04 100644 --- a/src/com/uncc/gameday/alerts/Alert.java +++ b/src/com/uncc/gameday/alerts/Alert.java @@ -26,7 +26,7 @@ public class Alert { this.setType(type); } - private void setType(String type) { + public void setType(String type) { this.type = type; } diff --git a/src/com/uncc/gameday/alerts/AlertDB.java b/src/com/uncc/gameday/alerts/AlertDB.java index 730f845..d9c8c2a 100644 --- a/src/com/uncc/gameday/alerts/AlertDB.java +++ b/src/com/uncc/gameday/alerts/AlertDB.java @@ -21,25 +21,25 @@ import android.database.sqlite.SQLiteOpenHelper; public class AlertDB extends SQLiteOpenHelper { /** The Constant DATABASE_VERSION. */ - private static final int DATABASE_VERSION = 1; + public static final int DATABASE_VERSION = 1; /** The Constant DATABASE_NAME. */ - private static final String DATABASE_NAME = "AlertDataBase"; + public static final String DATABASE_NAME = "AlertDataBase"; /** The Constant TABLE_ALERTS. */ - private static final String TABLE_ALERTS = "alerts"; + public static final String TABLE_ALERTS = "alerts"; /** The Constant KEY_ALARM_DATE. */ - private static final String KEY_ALARM_DATE = "alarm_date"; + public static final String KEY_ALARM_DATE = "alarm_date"; /** The Constant KEY_MESSAGE. */ - private static final String KEY_MESSAGE = "message"; + public static final String KEY_MESSAGE = "message"; /** The Constant KEY_SHOWN. */ - private static final String KEY_SHOWN = "shown"; + public static final String KEY_SHOWN = "shown"; /** The Constant KEY_TYPE. */ - private static final String KEY_TYPE = "type"; + public static final String KEY_TYPE = "type"; /**