<commit_before>package productcatalog.pages;

import common.pages.CollectionData;
import common.pages.DetailData;
import common.pages.SelectableData;

import javax.swing.event.ListDataEvent;

public class ProductData {
    private static final String SKU_PREFIX = "SUNRISE #";

    private final String text;
    private final String sku;
    private final CollectionData<SelectableData> ratingList;
    private final String description;
    private final String viewDetailsText;
    private final String price;
    private final String priceOld;
    private final CollectionData<SelectableData> colorList;
    private final CollectionData<SelectableData> sizeList;
    private final String sizeGuideText;
    private final CollectionData<SelectableData> bagItemList;
    private final String addToBagText;
    private final String addToWishlistText;
    private final String availableText;
    private final CollectionData<DetailData> productDetails;
    private final String deliveryAndReturns;
    private final CollectionData<DetailData> delivery;
    private final CollectionData<DetailData> returns;

    ProductData (ProductDataBuilder builder) {
        this.text = builder.text;
        this.sku = builder.sku;
        this.ratingList = builder.ratingList;
        this.description = builder.description;
        this.viewDetailsText = builder.viewDetailsText;
        this.price = builder.price;
        this.priceOld = builder.priceOld;
        this.colorList = builder.colorList;
        this.sizeList = builder.sizeList;
        this.sizeGuideText = builder.sizeGuideText;
        this.bagItemList = builder.bagItemList;
        this.addToBagText = builder.addToBagText;
        this.addToWishlistText = builder.addToWishlistText;
        this.availableText = builder.availableText;
        this.productDetails = builder.productDetails;
        this.deliveryAndReturns = builder.deliveryAndReturns;
        this.delivery = builder.delivery;
        this.returns = builder.returns;
    }

    public String getText() {
        return text;
    }

    public String getSku() {
        return SKU_PREFIX + sku;
    }

    public CollectionData<SelectableData> getRating() {
        return ratingList;
    }

    public String getDescription() {
        return description;
    }

    public String getViewDetails() {
        return viewDetailsText;
    }

    public String getPrice() {
        return price;
    }

    public String getPriceOld() {
        return priceOld;
    }

    public CollectionData<SelectableData> getColor() {
        return colorList;
    }

    public CollectionData<SelectableData> getSize() {
        return sizeList;
    }

    public String getSizeGuide() {
        return sizeGuideText;
    }

    public CollectionData<SelectableData> getBagItems() {
        return bagItemList;
    }

    public String getAddToBag() {
        return addToBagText;
    }

    public String getAddToWishlist() {
        return addToWishlistText;
    }

    public String getAvailable() {
        return availableText;
    }

    public CollectionData<DetailData> getProductDetails() {
        return productDetails;
    }

    public String getDeliveryAndReturns() {
        return deliveryAndReturns;
    }

    public CollectionData<DetailData> getDelivery() {
        return delivery;
    }

    public CollectionData<DetailData> getReturns() {
        return returns;
    }
}<commit_msg>Adjust ProductData to use ShippingData<commit_after>package productcatalog.pages;

import common.pages.CollectionData;
import common.pages.DetailData;
import common.pages.SelectableData;
import common.pages.ShippingData;

public class ProductData {
    private static final String SKU_PREFIX = "SUNRISE #";

    private final String text;
    private final String sku;
    private final CollectionData<SelectableData> ratingList;
    private final String description;
    private final String viewDetailsText;
    private final String price;
    private final String priceOld;
    private final CollectionData<SelectableData> colorList;
    private final CollectionData<SelectableData> sizeList;
    private final String sizeGuideText;
    private final CollectionData<SelectableData> bagItemList;
    private final String addToBagText;
    private final String addToWishlistText;
    private final String availableText;
    private final CollectionData<DetailData> productDetails;
    private final String deliveryAndReturns;
    private final CollectionData<ShippingData> delivery;
    private final CollectionData<ShippingData> returns;

    ProductData (ProductDataBuilder builder) {
        this.text = builder.text;
        this.sku = builder.sku;
        this.ratingList = builder.ratingList;
        this.description = builder.description;
        this.viewDetailsText = builder.viewDetailsText;
        this.price = builder.price;
        this.priceOld = builder.priceOld;
        this.colorList = builder.colorList;
        this.sizeList = builder.sizeList;
        this.sizeGuideText = builder.sizeGuideText;
        this.bagItemList = builder.bagItemList;
        this.addToBagText = builder.addToBagText;
        this.addToWishlistText = builder.addToWishlistText;
        this.availableText = builder.availableText;
        this.productDetails = builder.productDetails;
        this.deliveryAndReturns = builder.deliveryAndReturns;
        this.delivery = builder.delivery;
        this.returns = builder.returns;
    }

    public String getText() {
        return text;
    }

    public String getSku() {
        return SKU_PREFIX + sku;
    }

    public CollectionData<SelectableData> getRating() {
        return ratingList;
    }

    public String getDescription() {
        return description;
    }

    public String getViewDetails() {
        return viewDetailsText;
    }

    public String getPrice() {
        return price;
    }

    public String getPriceOld() {
        return priceOld;
    }

    public CollectionData<SelectableData> getColor() {
        return colorList;
    }

    public CollectionData<SelectableData> getSize() {
        return sizeList;
    }

    public String getSizeGuide() {
        return sizeGuideText;
    }

    public CollectionData<SelectableData> getBagItems() {
        return bagItemList;
    }

    public String getAddToBag() {
        return addToBagText;
    }

    public String getAddToWishlist() {
        return addToWishlistText;
    }

    public String getAvailable() {
        return availableText;
    }

    public CollectionData<DetailData> getProductDetails() {
        return productDetails;
    }

    public String getDeliveryAndReturns() {
        return deliveryAndReturns;
    }

    public CollectionData<ShippingData> getDelivery() {
        return delivery;
    }

    public CollectionData<ShippingData> getReturns() {
        return returns;
    }
}
{'fraction_non_alphanumeric': 0.0692016317016317, 'fraction_numerical': 0.0, 'mean_word_length': 2.956772334293948, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 31, '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': '3629837', 'n_tokens_mistral': 1833, 'n_tokens_neox': 1778, 'n_words': 446}