in src/main/java/org/apache/commons/dbcp2/datasources/PoolKey.java [39:54]
public boolean equals(final Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
final PoolKey other = (PoolKey) obj;
if (!Objects.equals(dataSourceName, other.dataSourceName)) {
return false;
}
return Objects.equals(userName, other.userName);
}