From bb9e0559dc2e6d34ca621c489d4013d3a714aa77 Mon Sep 17 00:00:00 2001 From: Eric House Date: Thu, 21 May 2020 10:51:47 -0700 Subject: [PATCH] change method name --- .../main/java/org/eehouse/android/xw4/DBUtils.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/DBUtils.java b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/DBUtils.java index 50167602f..e507d312f 100644 --- a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/DBUtils.java +++ b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/DBUtils.java @@ -675,8 +675,8 @@ public class DBUtils { setSummaryInt( rowid, DBHelper.CONTRACTED, expanded?0:1 ); } - private static int getInt( Context context, long rowid, String column, - int dflt ) + private static int getSummaryInt( Context context, long rowid, String column, + int dflt ) { int result = dflt; String selection = String.format( ROW_ID_FMT, rowid ); @@ -695,18 +695,18 @@ public class DBUtils { public static int getMsgFlags( Context context, long rowid ) { - return getInt( context, rowid, DBHelper.HASMSGS, - GameSummary.MSG_FLAGS_NONE ); + return getSummaryInt( context, rowid, DBHelper.HASMSGS, + GameSummary.MSG_FLAGS_NONE ); } public static boolean getExpanded( Context context, long rowid ) { - return 0 == getInt( context, rowid, DBHelper.CONTRACTED, 0 ); + return 0 == getSummaryInt( context, rowid, DBHelper.CONTRACTED, 0 ); } public static boolean gameOver( Context context, long rowid ) { - return 0 != getInt( context, rowid, DBHelper.GAME_OVER, 0 ); + return 0 != getSummaryInt( context, rowid, DBHelper.GAME_OVER, 0 ); } public static void saveThumbnail( Context context, GameLock lock,