Page MenuHomePhabricator

Slightly simplify logic for determining if an inline comment has an effect
ClosedPublic

Authored by epriestley on Aug 24 2017, 10:16 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 25, 5:45 PM
Unknown Object (File)
Thu, Dec 12, 5:01 AM
Unknown Object (File)
Sun, Dec 8, 5:13 PM
Unknown Object (File)
Fri, Nov 29, 12:53 PM
Unknown Object (File)
Fri, Nov 29, 12:38 PM
Unknown Object (File)
Nov 25 2024, 9:39 AM
Unknown Object (File)
Nov 21 2024, 11:31 AM
Unknown Object (File)
Nov 16 2024, 8:16 PM
Subscribers
None

Details

Summary

Minor cleanup, this logic can be simpler. Instead of special-casing inlines as having an effect if the have a comment, just consider any transaction with a comment to have an effect. I'm fairly certain this is always true.

Test Plan

Made inlines, tried to submit empty comments. Behavior unchanged.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable