Buggy code:
public class HomeActivity extends BaseActivity { private static final String TAG = "HomeActivity" ; private ProgressDialog mLoading ; private ArrayList < Project > mListProjects ; private RecyclerView mRecyclerView ; @ Override public void onCreate ( Bundle savedInstanceState ) { } @ Override public void onResume ( ) { } public static String parseInstanceDate ( String filename ) { } private StoryPathLibrary initSPLFromJson ( String json , String jsonPath ) { } private void initActivityList ( ) { } private void showSPLSelectorPopup ( final String [ ] names , final String [ ] paths ) { } private void showProject ( int id ) { } @ Override public void onSaveInstanceState ( Bundle outState ) { } private void checkForTor ( ) { } private void checkCreds ( ) { } @ Override public boolean onCreateOptionsMenu ( Menu menu ) { } @ Override public boolean onOptionsItemSelected ( MenuItem item ) { } public static void launchLiger ( Context context , String splId , String instancePath , String splPath ) { <START_BUG> if ( splId . equals ( "default_library" ) ) { <END_BUG> boolean readyToOpen = DownloadHelper . checkAndDownloadNew ( context ) ; if ( ! readyToOpen ) { Log . d ( "NEW<seq2seq4repair_space>ITEM<seq2seq4repair_space>CLICK" , "CURRENTLY<seq2seq4repair_space>DOWNLOADING<seq2seq4repair_space>FILE" ) ; Toast . makeText ( context , "Please<seq2seq4repair_space>wait<seq2seq4repair_space>for<seq2seq4repair_space>this<seq2seq4repair_space>content<seq2seq4repair_space>pack<seq2seq4repair_space>to<seq2seq4repair_space>finish<seq2seq4repair_space>downloading" , LENGTH_LONG ) . show ( ) ; return ; } } Intent ligerIntent = new Intent ( context , MainActivity . class ) ; ligerIntent . putExtra ( INTENT_KEY_WINDOW_TITLE , context . getString ( app_name ) ) ; String lang = StoryMakerApp . getCurrentLocale ( ) . getLanguage ( ) ; ligerIntent . putExtra ( "lang" , lang ) ; SharedPreferences settings = PreferenceManager . getDefaultSharedPreferences ( context . getApplicationContext ( ) ) ; int pslideduration = Integer . parseInt ( settings . getString ( "pslideduration" , "5" ) ) ; ligerIntent . putExtra ( "photo_essay_slide_duration" , ( pslideduration * 1000 ) ) ; if ( ( splId != null ) && ( ! ( splId . isEmpty ( ) ) ) ) { ligerIntent . putExtra ( INTENT_KEY_STORYPATH_LIBRARY_ID , splId ) ; } else if ( ( splPath != null ) && ( ! ( splPath . isEmpty ( ) ) ) ) { ligerIntent . putExtra ( INTENT_KEY_STORYPATH_LIBRARY_PATH , splPath ) ; } else if ( ( instancePath != null ) && ( ! ( instancePath . isEmpty ( ) ) ) ) { ligerIntent . putExtra ( INTENT_KEY_STORYPATH_INSTANCE_PATH , instancePath ) ; } context . startActivity ( ligerIntent ) ; } private void showPreferences ( ) { } @ Override protected void onActivityResult ( int arg0 , int arg1 , Intent arg2 ) { } public class MyAdapter extends FragmentPagerAdapter { int [ ] mMessages ; int [ ] mTitles ; public MyAdapter ( FragmentManager fm , int [ ] titles , int [ ] messages ) { } @ Override public int getCount ( ) { } @ Override public Fragment getItem ( int position ) { } } public static final class MyFragment extends Fragment { String mMessage ; String mTitle ; @ Override public void onCreate ( Bundle savedInstanceState ) { } @ Override public View onCreateView ( LayoutInflater inflater , ViewGroup container , Bundle savedInstanceState ) { } } private void checkForCrashes ( ) { } private void checkForUpdates ( ) { } public void downloadComplete ( ) { } }

Fix:
if ( ( splId != null ) && ( splId . equals ( "default_library" ) ) ) {