<commit_before>package nl.dionsegijn.simple_demo;

import android.graphics.drawable.Drawable;
import android.os.Bundle;

import androidx.appcompat.app.AppCompatActivity;
import androidx.core.content.ContextCompat;

import java.util.concurrent.TimeUnit;

import nl.dionsegijn.konfetti.KonfettiView;
import nl.dionsegijn.konfetti_core.NewEmitter.Emitter;
import nl.dionsegijn.konfetti_core.NewEmitter.EmitterConfig;
import nl.dionsegijn.konfetti_core.Party;
import nl.dionsegijn.konfetti_core.PartyFactory;
import nl.dionsegijn.konfetti_core.Position;
import nl.dionsegijn.konfetti_core.models.Shape;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        final Drawable drawable = ContextCompat.getDrawable(getApplicationContext(), R.drawable.ic_heart);
        final Shape.DrawableShape drawableShape = new Shape.DrawableShape(drawable, true);

        final KonfettiView konfettiView = findViewById(R.id.konfettiView);
        EmitterConfig emitterConfig = new Emitter(5L, TimeUnit.SECONDS).perSecond(50);
        Party party = new PartyFactory(emitterConfig)
                .angle(359)
                .spread(90)
                .setStartVelocity(5f)
                .position(new Position.relative(0.5, 0.5))
                .build();
        konfettiView.setOnClickListener(view ->
                konfettiView.start(party)
        );


//                konfettiView.build()
//                .addColors(Color.YELLOW, Color.GREEN, Color.MAGENTA)
//                .setDirection(0.0, 359.0)
//                .setSpeed(1f, 5f)
//                .setFadeOutEnabled(true)
//                .setTimeToLive(2000L)
//                .addShapes(new Shape.Rectangle(0.2f), drawableShape)
//                .addSizes(new Size(12, 5f))
//                .setPosition(-50f, konfettiView.getWidth() + 50f, -50f, -50f)
//                .streamFor(300, 5000L));
    }
}<commit_msg>Remove commented code<commit_after>package nl.dionsegijn.simple_demo;

import android.graphics.drawable.Drawable;
import android.os.Bundle;

import androidx.appcompat.app.AppCompatActivity;
import androidx.core.content.ContextCompat;

import java.util.concurrent.TimeUnit;

import nl.dionsegijn.konfetti.KonfettiView;
import nl.dionsegijn.konfetti_core.NewEmitter.Emitter;
import nl.dionsegijn.konfetti_core.NewEmitter.EmitterConfig;
import nl.dionsegijn.konfetti_core.Party;
import nl.dionsegijn.konfetti_core.PartyFactory;
import nl.dionsegijn.konfetti_core.Position;
import nl.dionsegijn.konfetti_core.models.Shape;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        final Drawable drawable = ContextCompat.getDrawable(getApplicationContext(), R.drawable.ic_heart);
        final Shape.DrawableShape drawableShape = new Shape.DrawableShape(drawable, true);

        final KonfettiView konfettiView = findViewById(R.id.konfettiView);
        EmitterConfig emitterConfig = new Emitter(5L, TimeUnit.SECONDS).perSecond(50);
        Party party = new PartyFactory(emitterConfig)
                .angle(359)
                .spread(90)
                .setStartVelocity(5f)
                .position(new Position.relative(0.5, 0.5))
                .build();
        konfettiView.setOnClickListener(view ->
                konfettiView.start(party)
        );
    }
}
{'fraction_non_alphanumeric': 0.09919197548063527, 'fraction_numerical': 0.016160490387294512, 'mean_word_length': 3.0156599552572705, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '5327539', 'n_tokens_mistral': 1158, 'n_tokens_neox': 1097, 'n_words': 167}