@Override
    public boolean equals(@Nullable Object other) {
        return (this == other || (other instanceof Resource &&
            ((Resource) other).getDescription().equals(getDescription())));
    }
This implementation compares description strings.

see #getDescription()
analyzer/src/main/java/nl/basjes/parse/useragent/utils/springframework/core/io/AbstractResource.java