Buggy code:
public class FontSettingActivity extends Activity { private static boolean dataChanged ; private ListView textVsFontListView ; private BaseAdapter adapter ; private Button saveButton ; private Button cancelButton ; private final int Request_font_selection = 0 ; private final int Request_Help = 1 ; @ Override protected void onCreate ( Bundle savedInstanceState ) { super . onCreate ( savedInstanceState ) ; setContentView ( activity_font_setting ) ; if ( ( FileItemContainer . getFileItems ( ) ) == null ) { ( ( TextView ) ( findViewById ( R . id . textView_fontSettings ) ) ) . setText ( ( "ERROR!<seq2seq4repair_space>Failed<seq2seq4repair_space>to<seq2seq4repair_space>" + "load<seq2seq4repair_space>additional<seq2seq4repair_space>file(s)." ) ) ; return ; } final String [ ] defaultTexts = getResources ( ) . getStringArray ( array_textSelection ) ; FontSettingActivity . dataChanged = false ; textVsFontListView = ( ( ListView ) ( findViewById ( listView_fontSettings ) ) ) ; adapter = new BaseAdapter ( ) { LayoutInflater layoutInflater = ( ( LayoutInflater ) ( getSystemService ( LAYOUT_INFLATER_SERVICE ) ) ) ; @ SuppressLint ( "InflateParams" ) @ Override public View getView ( final int position , View view , ViewGroup parent ) { if ( view == null ) { view = layoutInflater . inflate ( listitem_text_vs_font , null ) ; } TextView textView = ( ( TextView ) ( view . findViewById ( textView_textName ) ) ) ; if ( position < ( defaultTexts . length ) ) { textView . setText ( ( ( ( Integer . toString ( ( position + 1 ) ) ) + "." ) + ( defaultTexts [ position ] ) ) ) ; } else { textView . setText ( ( ( ( Integer . toString ( ( position + 1 ) ) ) + "." ) + ( FileItemContainer . getFileItem ( ( position - ( defaultTexts . length ) ) ) . getFileAliasName ( ) ) ) ) ; } Button buttonChangeFont = ( ( Button ) ( view . findViewById ( button_font ) ) ) ; buttonChangeFont . setText ( FontItemContainer . getSelectedFontName ( position ) ) ; buttonChangeFont . setOnClickListener ( new OnClickListener ( ) { @ Override public void onClick ( View v ) { Intent intent = new Intent ( FontSettingActivity . this , FontListActivity . class ) ; if ( position < ( defaultTexts . length ) ) { intent . putExtra ( "textName" , defaultTexts [ position ] ) ; } else { int p = position - ( defaultTexts . length ) ; intent . putExtra ( "textName" , FileItemContainer . getFileItem ( p ) . getFileAliasName ( ) ) ; } intent . putExtra ( "textIndex" , position ) ; startActivityForResult ( intent , Request_font_selection ) ; } } ) ; return view ; } @ Override public long getItemId ( int position ) { return position ; } @ Override public Object getItem ( int position ) { return null ; } @ Override public int getCount ( ) { return ( FileItemContainer . getFileItemsSize ( ) ) + ( defaultTexts . length ) ; } } ; textVsFontListView . setAdapter ( adapter ) ; saveButton = ( ( Button ) ( findViewById ( button_saveFontSettings ) ) ) ; saveButton . setOnClickListener ( new OnClickListener ( ) { @ Override public void onClick ( View v ) { if ( FontSettingActivity . dataChanged ) { saveFontSetting ( ) ; finish ( ) ; } else { <START_BUG> Toast . makeText ( FontSettingActivity . this , "No<seq2seq4repair_space>changes<seq2seq4repair_space>made.<seq2seq4repair_space>Nothing<seq2seq4repair_space>to<seq2seq4repair_space>save." , LENGTH_SHORT ) . show ( ) ; <END_BUG> } } } ) ; cancelButton = ( ( Button ) ( findViewById ( button_cancelFontSettings ) ) ) ; cancelButton . setOnClickListener ( new OnClickListener ( ) { @ Override public void onClick ( View v ) { cancelFontSetting ( ) ; } } ) ; } @ Override public void onBackPressed ( ) { } @ Override protected void onActivityResult ( int requestCode , int resultCode , Intent data ) { } @ Override public boolean onCreateOptionsMenu ( Menu menu ) { } @ Override public boolean onOptionsItemSelected ( MenuItem item ) { } private void saveFontSetting ( ) { } private void cancelFontSetting ( ) { } public static boolean isDataChanged ( ) { } public static void setDataChanged ( boolean value ) { } }

Fix:
Toast . makeText ( FontSettingActivity . this , "No<seq2seq4repair_space>change<seq2seq4repair_space>in<seq2seq4repair_space>setting.<seq2seq4repair_space>Nothing<seq2seq4repair_space>to<seq2seq4repair_space>save." , LENGTH_SHORT ) . show ( ) ;