if(this.m_location == null && !(that.m_location == null)) { return false;
if (this.m_location == null) { if (that.m_location != null) return false;
    public boolean equals(Object other) {        if (other == this) {            return true;        }        if (!(other instanceof TextureKey)) {            return false;        }        TextureKey that = (TextureKey) other;        if(this.m_location == null && !(that.m_location == null)) {            return false;        }        if (this.m_location == null)            if (that.m_location != null)                return false;        else if (!this.m_location.equals(that.m_location))            return false;                if (this.m_minFilter != that.m_minFilter)            return false;        if (this.m_maxFilter != that.m_maxFilter)            return false;        if (this.m_anisoLevel != that.m_anisoLevel)            return false;        if (this.m_flipped != that.m_flipped)            return false;        if (this.imageType != that.imageType)            return false;        return true;    }