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:
parent
c9124f13cd
commit
d36c8df0c9
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user