ObjFW  Diff

Differences From Artifact [48732d84ce]:

To Artifact [053784140f]:


122
123
124
125
126
127
128
129
130
131
132
133
134
135

136
137
138
139
140
141
142
143
122
123
124
125
126
127
128







129

130
131
132
133
134
135
136







-
-
-
-
-
-
-
+
-







+ (instancetype)elementWithFile: (OFString*)path
{
	return [[[self alloc] initWithFile: path] autorelease];
}

- init
{
	@try {
		[self doesNotRecognizeSelector: _cmd];
	} @catch (id e) {
		[self release];
		@throw e;
	}

	OF_INVALID_INIT_METHOD
	abort();
}

- initWithName: (OFString*)name
{
	return [self initWithName: name
			namespace: nil
		      stringValue: nil];