@@ -35,11 +35,11 @@ - initWithString: (OFString*)string { self = [super init]; @try { - processingInstructions = [string copy]; + _processingInstructions = [string copy]; } @catch (id e) { [self release]; @throw e; } @@ -57,11 +57,11 @@ ![[element namespace] isEqual: OF_SERIALIZATION_NS]) @throw [OFInvalidArgumentException exceptionWithClass: [self class] selector: _cmd]; - processingInstructions = [[element stringValue] copy]; + _processingInstructions = [[element stringValue] copy]; objc_autoreleasePoolPop(pool); } @catch (id e) { [self release]; @throw e; @@ -70,39 +70,39 @@ return self; } - (BOOL)isEqual: (id)object { - OFXMLProcessingInstructions *otherProcessingInstructions; + OFXMLProcessingInstructions *processingInstructions; if (![object isKindOfClass: [OFXMLProcessingInstructions class]]) return NO; - otherProcessingInstructions = object; + processingInstructions = object; - return ([otherProcessingInstructions->processingInstructions - isEqual: processingInstructions]); + return ([processingInstructions->_processingInstructions + isEqual: _processingInstructions]); } - (uint32_t)hash { - return [processingInstructions hash]; + return [_processingInstructions hash]; } - (OFString*)stringValue { return @""; } - (OFString*)XMLString { - return [OFString stringWithFormat: @"", processingInstructions]; + return [OFString stringWithFormat: @"", _processingInstructions]; } - (OFString*)XMLStringWithIndentation: (unsigned int)indentation { - return [OFString stringWithFormat: @"", processingInstructions]; + return [OFString stringWithFormat: @"", _processingInstructions]; } - (OFString*)XMLStringWithIndentation: (unsigned int)indentation level: (unsigned int)level { @@ -114,30 +114,28 @@ memset(whitespaces, ' ', level * indentation); whitespaces[level * indentation] = 0; @try { ret = [OFString stringWithFormat: - @"%s", - whitespaces, - processingInstructions]; + @"%s", whitespaces, _processingInstructions]; } @finally { [self freeMemory: whitespaces]; } } else ret = [OFString stringWithFormat: @"", - processingInstructions]; + _processingInstructions]; return ret; } - (OFString*)description { - return [OFString stringWithFormat: @"", processingInstructions]; + return [OFString stringWithFormat: @"", _processingInstructions]; } - (OFXMLElement*)XMLElementBySerializing { return [OFXMLElement elementWithName: [self className] namespace: OF_SERIALIZATION_NS - stringValue: processingInstructions]; + stringValue: _processingInstructions]; } @end