<commit_before>package com.garpr.android.models;

import android.os.Parcel;
import android.os.Parcelable;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;

import com.google.gson.annotations.SerializedName;

public class PlayerMatchesBundle implements Parcelable {

    @SerializedName("full_player")
    private FullPlayer mFullPlayer;

    @Nullable
    @SerializedName("matches_bundle")
    private MatchesBundle mMatchesBundle;


    @NonNull
    public FullPlayer getFullPlayer() {
        return mFullPlayer;
    }

    @Nullable
    public MatchesBundle getMatchesBundle() {
        return mMatchesBundle;
    }

    public boolean hasMatchesBundle() {
        return mMatchesBundle != null && mMatchesBundle.hasMatches();
    }
<commit_msg>added an exception throw for what should be an impossible case<commit_after>package com.garpr.android.models;

import android.os.Parcel;
import android.os.Parcelable;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;

import com.google.gson.annotations.SerializedName;

public class PlayerMatchesBundle implements Parcelable {

    @SerializedName("full_player")
    private FullPlayer mFullPlayer;

    @Nullable
    @SerializedName("matches_bundle")
    private MatchesBundle mMatchesBundle;


    @NonNull
    public FullPlayer getFullPlayer() {
        if (mFullPlayer == null) {
            throw new RuntimeException("mFullPlayer is null");
        }

        return mFullPlayer;
    }

    @Nullable
    public MatchesBundle getMatchesBundle() {
        return mMatchesBundle;
    }

    public boolean hasMatchesBundle() {
        return mMatchesBundle != null && mMatchesBundle.hasMatches();
    }

{'fraction_non_alphanumeric': 0.08034682080924856, 'fraction_numerical': 0.0, 'mean_word_length': 3.7424657534246575, 'pattern_counts': {'":': 0, '<': 3, '<?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': '4234581', 'n_tokens_mistral': 485, 'n_tokens_neox': 475, 'n_words': 108}