Summary: | [PATCH] Mistake in AFPResourceLevel#equals method | ||
---|---|---|---|
Product: | Fop - Now in Jira | Reporter: | Julien Aymé <julien.ayme> |
Component: | general | Assignee: | fop-dev |
Status: | RESOLVED FIXED | ||
Severity: | trivial | Keywords: | PatchAvailable |
Priority: | P3 | ||
Version: | trunk | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Attachments: | The proposed patch |
resetting P2 open bugs to P3 pending further review |
Created attachment 25489 [details] The proposed patch Their is a small mistake in AFPResourceLevel#equals method, which renders the equals method incorrect: The level field is compared to itself (level == level) and not to the other object field (level == rl.level) -> The level is always equals to itself.