Make symbolic keys case sensitive, following the general change between from 1.6 to 1.7.

This commit is contained in:
hns 2009-11-25 13:25:11 +00:00
parent 291e00bc6c
commit 3cd206effc

View file

@ -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());
}