<commit_before>package com.premnirmal.Magnet.app;

import android.app.Notification;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.os.Build;
import android.os.IBinder;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;

import com.premnirmal.Magnet.MagnetRequirements;
import com.premnirmal.Magnet.MagnetService;

/**
 * Created by prem on 7/20/14.
 * Desc: Example on how to use {@link com.premnirmal.Magnet.MagnetService}
 */
public class MyService extends MagnetService {

    private static final String TAG = "Refrigerator";

    @Override
    public IBinder onBind(Intent intent) {
        return null;
    }

    @Override
    protected Notification createNotification() {
        Intent notificationIntent = new Intent(this, ParanormalActivity.class);
        Notification notification;
        Build.VERSION_CODES.CUPCAKE
        if (Build.VERSION.SDK_INT < Build.VERSION_CODES.HONEYCOMB) {
            notification = new Notification(R.drawable.ic_launcher, "Hello", System.currentTimeMillis());
            notification.contentIntent = PendingIntent.getActivity(this, 0, notificationIntent, 0);
        } else {
            notification = new Notification.Builder(getApplicationContext())
                    .setSmallIcon(R.drawable.ic_launcher)
                    .setContentIntent(PendingIntent.getActivity(this, 0, notificationIntent, 0))
                    .setContentTitle("Hello")
                    .build();
        }
        return notification;
    }

    @Override
    protected MagnetRequirements getIcon() {
        return new MagnetRequirements() {
            @Override
            public View getIconView(Context context) {
                ImageView icon = new ImageView(context);
                icon.setImageResource(R.drawable.ic_launcher);
                return icon;
            }

            @Override
            public int getRemoveIconResID() {
                return -1;
            }<commit_msg>removed line from service<commit_after>package com.premnirmal.Magnet.app;

import android.app.Notification;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.os.Build;
import android.os.IBinder;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;

import com.premnirmal.Magnet.MagnetRequirements;
import com.premnirmal.Magnet.MagnetService;

/**
 * Created by prem on 7/20/14.
 * Desc: Example on how to use {@link com.premnirmal.Magnet.MagnetService}
 */
public class MyService extends MagnetService {

    private static final String TAG = "Refrigerator";

    @Override
    public IBinder onBind(Intent intent) {
        return null;
    }

    @Override
    protected Notification createNotification() {
        Intent notificationIntent = new Intent(this, ParanormalActivity.class);
        Notification notification;
        if (Build.VERSION.SDK_INT < Build.VERSION_CODES.HONEYCOMB) {
            notification = new Notification(R.drawable.ic_launcher, "Hello", System.currentTimeMillis());
            notification.contentIntent = PendingIntent.getActivity(this, 0, notificationIntent, 0);
        } else {
            notification = new Notification.Builder(getApplicationContext())
                    .setSmallIcon(R.drawable.ic_launcher)
                    .setContentIntent(PendingIntent.getActivity(this, 0, notificationIntent, 0))
                    .setContentTitle("Hello")
                    .build();
        }
        return notification;
    }

    @Override
    protected MagnetRequirements getIcon() {
        return new MagnetRequirements() {
            @Override
            public View getIconView(Context context) {
                ImageView icon = new ImageView(context);
                icon.setImageResource(R.drawable.ic_launcher);
                return icon;
            }

            @Override
            public int getRemoveIconResID() {
                return -1;
            }
{'fraction_non_alphanumeric': 0.08691358024691358, 'fraction_numerical': 0.0049382716049382715, 'mean_word_length': 2.556628621597893, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '5105225', 'n_tokens_mistral': 1117, 'n_tokens_neox': 1049, 'n_words': 238}