Differences From Artifact [e44a0576ae]:
- File
src/OFArray_adjacentSubarray.m
— part of check-in
[68d32a92c1]
at
2014-06-16 15:06:26
on branch trunk
— Make return type of -[OFArray objects] const
After all, this might (and does for OFArray_adjacent!) return an
internal representation that must not be changed, so changes should be
prevented at compile-time. (user: js, size: 1622) [annotate] [blame] [check-ins using]
To Artifact [bfc5d5e2ae]:
- File
src/OFArray_adjacentSubarray.m
— part of check-in
[2ecede1f96]
at
2014-07-16 17:02:30
on branch trunk
— Fix check in -[OFDictionary_hashtable isEqual:]
Instead of checking the passed dictionary, this checked self, which of
course would always be of type OFDictionary_hashtable.While at it, use -[isKindOfClass:] instead for the check. (user: js, size: 1577) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
28 29 30 31 32 33 34 | - (bool)isEqual: (id)object { OFArray *otherArray; id const *objects, *otherObjects; size_t i; | | | < | 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | - (bool)isEqual: (id)object { OFArray *otherArray; id const *objects, *otherObjects; size_t i; if (![object isKindOfClass: [OFArray_adjacent class]] && ![object isKindOfClass: [OFMutableArray_adjacent class]]) return [super isEqual: object]; otherArray = object; if (_range.length != [otherArray count]) return false; |
︙ | ︙ |