@@ -18,10 +18,12 @@ #import "OFStillLockedException.h" #import "OFString.h" @implementation OFStillLockedException +@synthesize lock = _lock; + + (instancetype)exceptionWithLock: (id )lock { return [[[self alloc] initWithLock: lock] autorelease]; } @@ -49,11 +51,6 @@ @"still locked!", [_lock class]]; else return @"Deallocation of a lock even though it was still " @"locked!"; } - -- (id )lock -{ - OF_GETTER(_lock, true) -} @end