ObjFW  Check-in [e5cfcebae5]

Overview
Comment:Fix a typo.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: e5cfcebae5f8e0ea5a4f5ec10ea1a04e7e783a2847e20f08c621dc64b62e66c8
User & Date: js on 2011-09-18 20:52:21
Other Links: manifest | tags
Context
2011-09-19
11:39
Fix calculation of microseconds. check-in: 6ec0a033bd user: js tags: trunk
2011-09-18
20:52
Fix a typo. check-in: e5cfcebae5 user: js tags: trunk
18:55
Check for nil arguments in -[OFXMLElement initWith*:]. check-in: 196699e35c user: js tags: trunk
Changes

Modified src/OFXMLElement.m from [476144c78b] to [cc9da6f502].

210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
}

- initWithCDATA: (OFString*)CDATA_
{
	self = [super init];

	@try {
		if (CDATA_)
			@throw [OFInvalidArgumentException newWithClass: isa
							       selector: _cmd];

		CDATA = [CDATA_ copy];
	} @catch (id e) {
		[self release];
		@throw e;







|







210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
}

- initWithCDATA: (OFString*)CDATA_
{
	self = [super init];

	@try {
		if (CDATA_ == nil)
			@throw [OFInvalidArgumentException newWithClass: isa
							       selector: _cmd];

		CDATA = [CDATA_ copy];
	} @catch (id e) {
		[self release];
		@throw e;