<commit_before>package com.andela.iworkout.utilities;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;

public class Launcher {
    public static final String TRANSPORT = "transport";

    public static void launch(Context context, Class<?> activity) {
        Intent intent = new Intent(context, activity);
        context.startActivity(intent);
    }

    public static void launchActivity(Context context, Bundle bundle, Class<?> activity) {
        Intent intent = new Intent(context, activity);
        intent.putExtra(TRANSPORT, bundle);
        context.startActivity(intent);
    }

}
<commit_msg>Add lunchForResult method<commit_after>package com.andela.iworkout.utilities;

import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;

import com.andela.iworkout.activities.MainActivity;
import com.andela.iworkout.activities.WorkoutActivity;

public class Launcher {
    public static final String TRANSPORT = "transport";

    public static void launch(Context context, Class<?> activity) {
        Intent intent = new Intent(context, activity);
        context.startActivity(intent);
    }

    public static void launchActivity(Context context, Bundle bundle, Class<?> activity) {
        Intent intent = new Intent(context, activity);
        intent.putExtra(TRANSPORT, bundle);
        context.startActivity(intent);
    }

    public static void launchForResult(Activity activity, Class<?> activityClass, int CODE) {
        Intent intent = new Intent(activity, activityClass);
        activity.startActivityForResult(intent, CODE);
    }
}

{'fraction_non_alphanumeric': 0.09425981873111783, 'fraction_numerical': 0.0, 'mean_word_length': 4.0181818181818185, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1086295', 'n_tokens_mistral': 441, 'n_tokens_neox': 432, 'n_words': 118}