commit | 449c58ae1398092a9f4788d53e7a430e8442aa17 | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@collab.net> | Thu Sep 20 10:51:16 2018 +0900 |
committer | David Pursehouse <dpursehouse@collab.net> | Thu Sep 20 10:51:16 2018 +0900 |
tree | a827c641d4e88777985b6e11dbe2c16b115f48eb | |
parent | ff3af0b0deede74235a4d36698ff8936b3f37685 [diff] |
FilesystemDeleteHandler: Don't instantiate event if there are no listeners If there are no ProjectDeletedListener instances registered, it is not necessary to instantiate an Event object that will not be used. Check if there are any listeners, and early exit when there are none. Change-Id: Ib036920e2c2d07507748fcc182db7568dbdb96f4