Remove extraneous get { from a bunch of read-only accessors.

This commit is contained in:
Brent Simmons
2018-02-14 13:14:25 -08:00
parent 192439abe7
commit 2f21dbf6be
44 changed files with 216 additions and 353 deletions

View File

@@ -33,14 +33,12 @@ class AddFeedWindowController : NSWindowController {
fileprivate var folderTreeController: TreeController!
private var userEnteredTitle: String? {
get {
var s = nameTextField.stringValue
s = s.rs_stringWithCollapsedWhitespace()
if s.isEmpty {
return nil
}
return s
var s = nameTextField.stringValue
s = s.rs_stringWithCollapsedWhitespace()
if s.isEmpty {
return nil
}
return s
}
var hostWindow: NSWindow!