<commit_before>package springies;

import java.util.ArrayList;
import springs.Spring;
import masses.Mass;


public class Assembly {
    private ArrayList<Mass> mMasses;
    private ArrayList<Spring> mSprings;

    public Assembly () {
        mMasses = new ArrayList<Mass>();
        mSprings = new ArrayList<Spring>();
    }

    public void add (Mass mass) {
        mMasses.add(mass);
    }

    /*
     * public void add(FixedMass fixedMass) {
     * mMasses.add(fixedMass);
     * }
     */
    public void add (Spring spring) {
        mSprings.add(spring);
    }

    /*
     * public void add(Muscle muscle) {
     * mSprings.add(muscle);
     * }
     */

    public ArrayList<Mass> getMassList () {
        return this.mMasses;
    }

    public ArrayList<Spring> getSpringList () {
        return this.mSprings;
    }

    /*
     * public double getCOM() {
     * return 0;
     * }
     */

    public Assembly getAssembly () {
        return this;
    }
}<commit_msg>deleted Assembly factory<commit_after>package springies;

import java.util.ArrayList;
import masses.Mass;
import springs.Spring;


public class Assembly {
    private ArrayList<Mass> mMasses;
    private ArrayList<Spring> mSprings;

    public Assembly () {
        mMasses = new ArrayList<Mass>();
        mSprings = new ArrayList<Spring>();
    }

    public void add (Mass mass) {
        mMasses.add(mass);
    }

    /*
     * public void add(FixedMass fixedMass) {
     * mMasses.add(fixedMass);
     * }
     */
    public void add (Spring spring) {
        mSprings.add(spring);
    }

    /*
     * public void add(Muscle muscle) {
     * mSprings.add(muscle);
     * }
     */

    public ArrayList<Mass> getMassList () {
        return this.mMasses;
    }

    public ArrayList<Spring> getSpringList () {
        return this.mSprings;
    }


    public Assembly getAssembly () {
        return this;
    }
}
{'fraction_non_alphanumeric': 0.11368421052631579, 'fraction_numerical': 0.0005263157894736842, 'mean_word_length': 2.1630615640599, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '1434594', 'n_tokens_mistral': 595, 'n_tokens_neox': 563, 'n_words': 131}