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;
    }
}

@@ -563,16 +563,22 @@
 private 
+final 
 String s
@@ -596,145 +596,479 @@
     
-public PlayerProperty(String name, String value) %7B%0A        this.name = name;%0A        this.value = value;%0A        isSigned = false;%0A    %7D%0A
+/**%0A     * Creates a non-secure instance.%0A     *%0A     * @param name the property name%0A     * @param value the property value%0A     */%0A    public PlayerProperty(String name, String value) %7B%0A        this.name = name;%0A        this.value = value;%0A        isSigned = false;%0A        signature = null;%0A    %7D%0A%0A    /**%0A     * Creates a signed instance.%0A     *%0A     * @param name the property name%0A     * @param value the property value%0A     * @param signature the signature%0A     */
 %0A   

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