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

@@ -96,9 +96,7 @@ class PreferencesWindowController : NSWindowController, NSToolbarDelegate {
private extension PreferencesWindowController {
var currentView: NSView? {
get {
return window?.contentView?.subviews.first
}
return window?.contentView?.subviews.first
}
func toolbarItemSpec(for identifier: String) -> PreferencesToolbarItemSpec? {