@Override public int hashCode() { int hash = 7; hash = 37 * hash + (this.user != null ? this.user.hashCode() : 0); hash = 37 * hash + (this.role != null ? this.role.hashCode() : 0); hash = 37 * hash + (this.instance != null ? this.instance.hashCode() : 0); hash = 37 * hash + (this.sourceAddress != null ? this.sourceAddress.hashCode() : 0); hash = 37 * hash + (this.service != null ? this.service.hashCode() : 0); hash = 37 * hash + (this.request != null ? this.request.hashCode() : 0); hash = 37 * hash + (this.workspace != null ? this.workspace.hashCode() : 0); hash = 37 * hash + (this.layer != null ? this.layer.hashCode() : 0); //NOTE: ipaddress not in hashcode bc it is not used for caching return hash; }
@Override public int hashCode() { int hash = 7; hash = 37 * hash + (this.user != null ? this.user.hashCode() : 0); hash = 37 * hash + (this.role != null ? this.role.hashCode() : 0); hash = 37 * hash + (this.instance != null ? this.instance.hashCode() : 0); hash = 37 * hash + (this.sourceAddress != null ? this.sourceAddress.hashCode() : 0); hash = 37 * hash + (this.service != null ? this.service.hashCode() : 0); hash = 37 * hash + (this.request != null ? this.request.hashCode() : 0); hash = 37 * hash + (this.workspace != null ? this.workspace.hashCode() : 0); hash = 37 * hash + (this.layer != null ? this.layer.hashCode() : 0); //NOTE: ipaddress not in hashcode bc it is not used for caching return hash; }