1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-01-11 08:30:55 +00:00

Eliminate redundant init.

This commit is contained in:
Thomas Harte 2023-03-14 22:27:46 -04:00
parent c9124f13cd
commit d36c8df0c9

View File

@ -63,11 +63,6 @@ class MachineDocument:
return "MachineDocument"
}
convenience init(type typeName: String) throws {
self.init()
self.fileType = typeName
}
override func read(from url: URL, ofType typeName: String) throws {
if let analyser = CSStaticAnalyser(fileAt: url) {
self.displayName = analyser.displayName