Make symbolic keys case sensitive, following the general change between from 1.6 to 1.7.
This commit is contained in:
parent
291e00bc6c
commit
3cd206effc
1 changed files with 2 additions and 2 deletions
|
@ -64,7 +64,7 @@ public final class SyntheticKey implements Key, Serializable {
|
|||
SyntheticKey k = (SyntheticKey) obj;
|
||||
|
||||
return parentKey.equals(k.parentKey) &&
|
||||
((name == k.name) || name.equalsIgnoreCase(k.name));
|
||||
((name == k.name) || name.equals(k.name));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -73,7 +73,7 @@ public final class SyntheticKey implements Key, Serializable {
|
|||
*/
|
||||
public int hashCode() {
|
||||
if (hashcode == 0) {
|
||||
hashcode = 17 + (37 * name.toLowerCase().hashCode()) +
|
||||
hashcode = 17 + (37 * name.hashCode()) +
|
||||
(37 * parentKey.hashCode());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue