this method exists because the behavior of cur.getstring is undefined when the value in the database is null . this method will return null in that case . concode_field_sep String LOG_TAG concode_elem_sep Context context concode_elem_sep String tag concode_elem_sep Uri uri concode_field_sep String computeSQLInClause concode_elem_sep boolean stringsEqual concode_elem_sep Cursor checkAndLogCursor concode_elem_sep JSONArray getJSONArrayFromCursor concode_elem_sep HistoryRecord logHistory concode_elem_sep Cursor safeQuery concode_elem_sep Cursor safeQuery concode_elem_sep Cursor safeQuery concode_elem_sep Cursor safeQuery concode_elem_sep Cursor safeQuery concode_elem_sep boolean isValidHistoryURI concode_elem_sep Cursor checkNullCursor concode_elem_sep void logClient concode_elem_sep HistoryRecord historyFromMirrorCursor concode_elem_sep long getLongFromCursor concode_elem_sep void queryTimeLogger concode_elem_sep String computeSQLLongInClause concode_elem_sep String getStringFromCursor concode_elem_sep int getIntFromCursor
String function ( final Cursor arg0 , final String arg1 ) { final int loc0 = arg0 . getColumnIndex ( arg1 ) ; if ( arg0 . isNull ( loc0 ) ) { return null ; } return arg0 . getString ( loc0 ) ; }