<commit_before>package com.braintreepayments.api;

import android.os.Parcel;
import android.os.Parcelable;

import androidx.annotation.Nullable;

import com.cardinalcommerce.shared.userinterfaces.LabelCustomization;

/**
 * Label customization options for 3D Secure 2 flows.
 */
public class ThreeDSecureV2LabelCustomization extends ThreeDSecureV2BaseCustomization implements Parcelable {

    private final LabelCustomization cardinalLabelCustomization = new LabelCustomization();

    public ThreeDSecureV2LabelCustomization() {
    }

    /**
     * @param textFontName Font type for the UI element.
     */
    public void setTextFontName(@Nullable String textFontName) {
        cardinalLabelCustomization.setTextFontName(textFontName);
    }

    /**
     * @param textColor Color code in Hex format. For example, the color code can be “#999999”.
     */
    public void setTextColor(@Nullable String textColor) {
        cardinalLabelCustomization.setTextColor(textColor);
    }

    /**
     * @param textFontSize Font size for the UI element.
     */
    public void setTextFontSize(int textFontSize) {
        cardinalLabelCustomization.setTextFontSize(textFontSize);
    }

    /**
     * @return Font type for the UI element.
     */
    @Nullable
    public String getTextFontName() {
        return cardinalLabelCustomization.getTextFontName();
    }

    /**
     * @return Color code in Hex format.
     */
    @Nullable
    public String getTextColor() {
        return cardinalLabelCustomization.getTextColor();
    }

    /**
     * @return Font size for the UI element.
     */
    public int getTextFontSize() {
        return cardinalLabelCustomization.getTextFontSize();
    }

    /**
     * @param headingTextColor Color code in Hex format. For example, the color code can be “#999999”.
     */
    public void setHeadingTextColor(@Nullable String headingTextColor) {
        cardinalLabelCustomization.setHeadingTextColor(headingTextColor);
    }

    /**
     * @param headingTextFontName Font type for the heading label text.
     */
    public void setHeadingTextFontName(@Nullable String headingTextFontName) {
        cardinalLabelCustomization.setHeadingTextFontName(headingTextFontName);
    }

    /**
     * @param headingTextFontSize Font size for the heading label text.
     */
    public void setHeadingTextFontSize(int headingTextFontSize) {
        cardinalLabelCustomization.setHeadingTextFontSize(headingTextFontSize);
    }

    /**
     * @return Color code in Hex format.
     */
    @Nullable
    public String getHeadingTextColor() {
        return cardinalLabelCustomization.getHeadingTextColor();
    }

    /**
     * @return Font type for the heading label text.
     */
    @Nullable
    public String getHeadingTextFontName() {
        return cardinalLabelCustomization.getHeadingTextFontName();
    }

    /**
     * @return Font size for the heading label text.
     */
    public int getHeadingTextFontSize() {
        return cardinalLabelCustomization.getHeadingTextFontSize();
    }

    LabelCustomization getCardinalLabelCustomization() {
        return cardinalLabelCustomization;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    private ThreeDSecureV2LabelCustomization(Parcel in) {
        cardinalLabelCustomization.setTextFontName(in.readString());
        cardinalLabelCustomization.setTextColor(in.readString());
        cardinalLabelCustomization.setTextFontSize(in.readInt());
        cardinalLabelCustomization.setHeadingTextColor(in.readString());
        cardinalLabelCustomization.setTextFontName(in.readString());
        cardinalLabelCustomization.setTextFontSize(in.readInt());
    }

    @Override
    public void writeToParcel(Parcel parcel, int i) {
        parcel.writeString(cardinalLabelCustomization.getTextFontName());
        parcel.writeString(cardinalLabelCustomization.getTextColor());
        parcel.writeInt(cardinalLabelCustomization.getTextFontSize());
        parcel.writeString(cardinalLabelCustomization.getHeadingTextColor());
        parcel.writeString(cardinalLabelCustomization.getHeadingTextFontName());
        parcel.writeInt(cardinalLabelCustomization.getHeadingTextFontSize());
    }

    public static final Creator<ThreeDSecureV2LabelCustomization> CREATOR = new Creator<ThreeDSecureV2LabelCustomization>() {
        @Override
        public ThreeDSecureV2LabelCustomization createFromParcel(Parcel in) {
            return new ThreeDSecureV2LabelCustomization(in);
        }

        @Override
        public ThreeDSecureV2LabelCustomization[] newArray(int size) {
            return new ThreeDSecureV2LabelCustomization[size];
        }
    };
}
<commit_msg>Fix label parcelling<commit_after>package com.braintreepayments.api;

import android.os.Parcel;
import android.os.Parcelable;

import androidx.annotation.Nullable;

import com.cardinalcommerce.shared.userinterfaces.LabelCustomization;

/**
 * Label customization options for 3D Secure 2 flows.
 */
public class ThreeDSecureV2LabelCustomization extends ThreeDSecureV2BaseCustomization implements Parcelable {

    private final LabelCustomization cardinalLabelCustomization = new LabelCustomization();

    public ThreeDSecureV2LabelCustomization() {
    }

    /**
     * @param textFontName Font type for the UI element.
     */
    public void setTextFontName(@Nullable String textFontName) {
        cardinalLabelCustomization.setTextFontName(textFontName);
    }

    /**
     * @param textColor Color code in Hex format. For example, the color code can be “#999999”.
     */
    public void setTextColor(@Nullable String textColor) {
        cardinalLabelCustomization.setTextColor(textColor);
    }

    /**
     * @param textFontSize Font size for the UI element.
     */
    public void setTextFontSize(int textFontSize) {
        cardinalLabelCustomization.setTextFontSize(textFontSize);
    }

    /**
     * @return Font type for the UI element.
     */
    @Nullable
    public String getTextFontName() {
        return cardinalLabelCustomization.getTextFontName();
    }

    /**
     * @return Color code in Hex format.
     */
    @Nullable
    public String getTextColor() {
        return cardinalLabelCustomization.getTextColor();
    }

    /**
     * @return Font size for the UI element.
     */
    public int getTextFontSize() {
        return cardinalLabelCustomization.getTextFontSize();
    }

    /**
     * @param headingTextColor Color code in Hex format. For example, the color code can be “#999999”.
     */
    public void setHeadingTextColor(@Nullable String headingTextColor) {
        cardinalLabelCustomization.setHeadingTextColor(headingTextColor);
    }

    /**
     * @param headingTextFontName Font type for the heading label text.
     */
    public void setHeadingTextFontName(@Nullable String headingTextFontName) {
        cardinalLabelCustomization.setHeadingTextFontName(headingTextFontName);
    }

    /**
     * @param headingTextFontSize Font size for the heading label text.
     */
    public void setHeadingTextFontSize(int headingTextFontSize) {
        cardinalLabelCustomization.setHeadingTextFontSize(headingTextFontSize);
    }

    /**
     * @return Color code in Hex format.
     */
    @Nullable
    public String getHeadingTextColor() {
        return cardinalLabelCustomization.getHeadingTextColor();
    }

    /**
     * @return Font type for the heading label text.
     */
    @Nullable
    public String getHeadingTextFontName() {
        return cardinalLabelCustomization.getHeadingTextFontName();
    }

    /**
     * @return Font size for the heading label text.
     */
    public int getHeadingTextFontSize() {
        return cardinalLabelCustomization.getHeadingTextFontSize();
    }

    LabelCustomization getCardinalLabelCustomization() {
        return cardinalLabelCustomization;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    private ThreeDSecureV2LabelCustomization(Parcel in) {
        cardinalLabelCustomization.setTextFontName(in.readString());
        cardinalLabelCustomization.setTextColor(in.readString());
        cardinalLabelCustomization.setTextFontSize(in.readInt());
        cardinalLabelCustomization.setHeadingTextColor(in.readString());
        cardinalLabelCustomization.setHeadingTextFontName(in.readString());
        cardinalLabelCustomization.setHeadingTextFontSize(in.readInt());
    }

    @Override
    public void writeToParcel(Parcel parcel, int i) {
        parcel.writeString(cardinalLabelCustomization.getTextFontName());
        parcel.writeString(cardinalLabelCustomization.getTextColor());
        parcel.writeInt(cardinalLabelCustomization.getTextFontSize());
        parcel.writeString(cardinalLabelCustomization.getHeadingTextColor());
        parcel.writeString(cardinalLabelCustomization.getHeadingTextFontName());
        parcel.writeInt(cardinalLabelCustomization.getHeadingTextFontSize());
    }

    public static final Creator<ThreeDSecureV2LabelCustomization> CREATOR = new Creator<ThreeDSecureV2LabelCustomization>() {
        @Override
        public ThreeDSecureV2LabelCustomization createFromParcel(Parcel in) {
            return new ThreeDSecureV2LabelCustomization(in);
        }

        @Override
        public ThreeDSecureV2LabelCustomization[] newArray(int size) {
            return new ThreeDSecureV2LabelCustomization[size];
        }
    };
}

{'fraction_non_alphanumeric': 0.08060239686074876, 'fraction_numerical': 0.005302789267154523, 'mean_word_length': 3.3596856218215443, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '5221773', 'n_tokens_mistral': 2590, 'n_tokens_neox': 2494, 'n_words': 526}