Index: src/OFArray_adjacent.m ================================================================== --- src/OFArray_adjacent.m +++ src/OFArray_adjacent.m @@ -211,32 +211,16 @@ return [_array items]; } - (id)objectAtIndex: (size_t)index { - id ret; - - @try { - ret = *((id*)[_array itemAtIndex: index]); - } @catch (OFOutOfRangeException *e) { - @throw [OFOutOfRangeException exception]; - } - - return ret; + return *((id*)[_array itemAtIndex: index]); } - (id)objectAtIndexedSubscript: (size_t)index { - id ret; - - @try { - ret = *((id*)[_array itemAtIndex: index]); - } @catch (OFOutOfRangeException *e) { - @throw [OFOutOfRangeException exception]; - } - - return ret; + return *((id*)[_array itemAtIndex: index]); } - (void)getObjects: (id*)buffer inRange: (of_range_t)range {