presto-client/src/main/java/io/prestosql/client/Warning.java/Code/equals
class Code:        @Override
        public boolean equals(Object obj)
        {
            if (this == obj) {
                return true;
            }
            if ((obj == null) || (getClass() != obj.getClass())) {
                return false;
            }
            Code other = (Code) obj;
            return (code == other.code) &&
                    Objects.equals(name, other.name);
        }