package net.glowstone.entity.meta.profile;

import lombok.Getter;

/**
 * Container for global player properties (such as textures) returned by the auth servers.
 */
public class PlayerProperty {

    /**
     * The name of the property.
     */
    @Getter
    private final String name;

    /**
     * The property's value.
     */
    @Getter
    private final String value;

    /**
     * If this property is signed.
     */
    @Getter
    private final boolean isSigned;

    /**
     * The signature of the value for validation.
     */
    @Getter
    private String signature;

    public PlayerProperty(String name, String value) {
        this.name = name;
        this.value = value;
        isSigned = false;
    }

    public PlayerProperty(String name, String value, String signature) {
        this.name = name;
        this.value = value;
        this.signature = signature;
        isSigned = true;
    }
}

package net.glowstone.entity.meta.profile;

import lombok.Getter;

/**
 * Container for global player properties (such as textures) returned by the auth servers.
 */
public class PlayerProperty {

    /**
     * The name of the property.
     */
    @Getter
    private final String name;

    /**
     * The property's value.
     */
    @Getter
    private final String value;

    /**
     * If this property is signed.
     */
    @Getter
    private final boolean isSigned;

    /**
     * The signature of the value for validation.
     */
    @Getter
    private final String signature;

    /**
     * Creates a non-secure instance.
     *
     * @param name the property name
     * @param value the property value
     */
    public PlayerProperty(String name, String value) {
        this.name = name;
        this.value = value;
        isSigned = false;
        signature = null;
    }

    /**
     * Creates a signed instance.
     *
     * @param name the property name
     * @param value the property value
     * @param signature the signature
     */
    public PlayerProperty(String name, String value, String signature) {
        this.name = name;
        this.value = value;
        this.signature = signature;
        isSigned = true;
    }
}

Fix CheckStyle issues in entity/meta/profile/PlayerProperty.java (#712)