<commit_before>/*******************************************************************************
 * Copyright 2011-2014 SirSengir
 * 
 * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details.
 ******************************************************************************/
package forestry.api.mail;

import com.sun.javaws.exceptions.InvalidArgumentException;
import net.minecraft.item.ItemStack;

import com.mojang.authlib.GameProfile;

public class TradeStationInfo {
	public final MailAddress address;
	public final GameProfile owner;
	public final ItemStack tradegood;
	public final ItemStack[] required;
	public final IPostalState state;

	public TradeStationInfo(MailAddress address, GameProfile owner, ItemStack tradegood, ItemStack[] required, IPostalState state) {
        if (address.isPlayer()) {
            throw new IllegalArgumentException("TradeStation address must not be a player");
        }
		this.address = address;
		this.owner = owner;
		this.tradegood = tradegood;<commit_msg>Correcting an import<commit_after>/*******************************************************************************
 * Copyright 2011-2014 SirSengir
 * 
 * This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details.
 ******************************************************************************/
package forestry.api.mail;

import java.lang.IllegalArgumentException;
import net.minecraft.item.ItemStack;

import com.mojang.authlib.GameProfile;

public class TradeStationInfo {
	public final MailAddress address;
	public final GameProfile owner;
	public final ItemStack tradegood;
	public final ItemStack[] required;
	public final IPostalState state;

	public TradeStationInfo(MailAddress address, GameProfile owner, ItemStack tradegood, ItemStack[] required, IPostalState state) {
        if (address.isPlayer()) {
            throw new IllegalArgumentException("TradeStation address must not be a player");
        }
		this.address = address;
		this.owner = owner;
		this.tradegood = tradegood;
{'fraction_non_alphanumeric': 0.22038030229156508, 'fraction_numerical': 0.0078010726474890294, 'mean_word_length': 5.514285714285714, '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': '5202744', 'n_tokens_mistral': 534, 'n_tokens_neox': 483, 'n_words': 155}