Program: 187345
Project: 187345
Buggy source:
@Override public int update(Uri uri,ContentValues values,String selection,String[] selectionArgs){
  int choose=sURIMatcher.match(uri);
  dba=db.getDB();
switch (choose) {
case USER:
    int count=dba.update(SQLitehelper.USER_TABLE_NAME,values,selection,selectionArgs);
  getContext().getContentResolver().notifyChange(uri,null);
return count;
case TRUSTED:
count=dba.update(SQLitehelper.TRUSTED_TABLE_NAME,values,selection,selectionArgs);
getContext().getContentResolver().notifyChange(uri,null);
return count;
case NUMBERS:
count=dba.update(SQLitehelper.NUMBERS_TABLE_NAME,values,selection,selectionArgs);
getContext().getContentResolver().notifyChange(uri,null);
return count;
case SHARED_INFO:
count=dba.update(SQLitehelper.SHARED_INFO_TABLE_NAME,values,selection,selectionArgs);
getContext().getContentResolver().notifyChange(uri,null);
return count;
case BOOK_PATH:
count=dba.update(SQLitehelper.BOOK_PATHS_TABLE_NAME,values,selection,selectionArgs);
getContext().getContentResolver().notifyChange(uri,null);
return count;
case MESSAGE:
count=dba.update(SQLitehelper.MESSAGES_TABLE_NAME,values,selection,selectionArgs);
getContext().getContentResolver().notifyChange(uri,null);
return count;
case QUEUE:
count=dba.update(SQLitehelper.QUEUE_TABLE_NAME,values,selection,selectionArgs);
getContext().getContentResolver().notifyChange(uri,null);
return count;
case EXCHANGE:
count=dba.update(SQLitehelper.EXCHANGE_TABLE_NAME,values,selection,selectionArgs);
getContext().getContentResolver().notifyChange(uri,null);
return count;
case WALKTHROUGH:
if (values.containsKey(SQLitehelper.KEY_ID)) {
count=dba.update(SQLitehelper.WALKTHROUGH_TABLE_NAME,values,selection,selectionArgs);
getContext().getContentResolver().notifyChange(uri,null);
return count;
}
default :
throw new IllegalArgumentException("String_Node_Str" + uri);
}
}

Fixed version (ground truth):
@Override public int update(Uri uri,ContentValues values,String selection,String[] selectionArgs){
  int choose=sURIMatcher.match(uri);
  dba=db.getDB();
switch (choose) {
case USER:
    int count=dba.update(SQLitehelper.USER_TABLE_NAME,values,selection,selectionArgs);
  getContext().getContentResolver().notifyChange(uri,null);
return count;
case TRUSTED:
count=dba.update(SQLitehelper.TRUSTED_TABLE_NAME,values,selection,selectionArgs);
getContext().getContentResolver().notifyChange(uri,null);
return count;
case NUMBERS:
count=dba.update(SQLitehelper.NUMBERS_TABLE_NAME,values,selection,selectionArgs);
getContext().getContentResolver().notifyChange(uri,null);
return count;
case SHARED_INFO:
count=dba.update(SQLitehelper.SHARED_INFO_TABLE_NAME,values,selection,selectionArgs);
getContext().getContentResolver().notifyChange(uri,null);
return count;
case BOOK_PATH:
count=dba.update(SQLitehelper.BOOK_PATHS_TABLE_NAME,values,selection,selectionArgs);
getContext().getContentResolver().notifyChange(uri,null);
return count;
case MESSAGE:
count=dba.update(SQLitehelper.MESSAGES_TABLE_NAME,values,selection,selectionArgs);
getContext().getContentResolver().notifyChange(uri,null);
return count;
case QUEUE:
count=dba.update(SQLitehelper.QUEUE_TABLE_NAME,values,selection,selectionArgs);
getContext().getContentResolver().notifyChange(uri,null);
return count;
case EXCHANGE:
count=dba.update(SQLitehelper.EXCHANGE_TABLE_NAME,values,selection,selectionArgs);
getContext().getContentResolver().notifyChange(uri,null);
return count;
case WALKTHROUGH:
if (!values.containsKey(SQLitehelper.KEY_ID)) {
count=dba.update(SQLitehelper.WALKTHROUGH_TABLE_NAME,values,selection,selectionArgs);
getContext().getContentResolver().notifyChange(uri,null);
return count;
}
default :
throw new IllegalArgumentException("String_Node_Str" + uri);
}
}