Don't access isa directly.

This commit is contained in:
Jonathan Schleifer 2012-07-12 05:34:20 +02:00
parent 867450105e
commit f590ff46fe
10 changed files with 43 additions and 40 deletions

View file

@ -213,7 +213,8 @@
- (void)setDataStorage: (id <XMPPStorage>)dataStorage_
{
if (rosterRequested)
@throw [OFInvalidArgumentException exceptionWithClass: isa];
@throw [OFInvalidArgumentException
exceptionWithClass: [self class]];
dataStorage = dataStorage_;
}