Shan Jiang created COMMONSSITE-185:
--------------------------------------
Summary: Configuration and builder classes implement `clone()` but
not `equals()`
Key: COMMONSSITE-185
URL: https://issues.apache.org/jira/browse/COMMONSSITE-185
Project: Apache Commons All
Issue Type: Bug
Reporter: Shan Jiang
apache/commons-configuration — 7 Cloneable classes missing equals()/hashCode()
### Summary
Seven classes implement `Cloneable` with correct `clone()` but do not override
`equals()`/`hashCode()`. `x.clone().equals(x)` always returns `false`.
### Affected classes
- `BaseConfiguration`
- `CombinedConfiguration`
- `CompositeConfiguration`
- `BasicBuilderParameters`
- `FileBasedBuilderParametersImpl`
- `CombinedBuilderParametersImpl`
- `MultiFileBuilderParametersImpl`
### How this was found
Detected by an automated JDK conformance oracle
(`ObjectOracles.checkCloneEqualsConsistency`).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)