@@ -18,10 +18,12 @@ #import "OFHashAlreadyCalculatedException.h" #import "OFString.h" @implementation OFHashAlreadyCalculatedException +@synthesize hashObject = _hashObject; + + (instancetype)exceptionWithHash: (id )hash { return [[[self alloc] initWithHash: hash] autorelease]; } @@ -50,11 +52,6 @@ { return [OFString stringWithFormat: @"The hash of type %@ has already been calculated and thus no new " @"data can be added!", [_hashObject class]]; } - -- (id )hashObject -{ - OF_GETTER(_hashObject, true) -} @end