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)
Fri, Jan 24, 10:20 PM
Unknown Object (File)
Fri, Jan 24, 10:20 PM
Unknown Object (File)
Fri, Jan 24, 10:20 PM
Unknown Object (File)
Sun, Dec 29, 11:04 AM
Unknown Object (File)
Sat, Dec 28, 2:53 PM
Unknown Object (File)
Dec 25 2024, 5:45 PM
Unknown Object (File)
Dec 12 2024, 5:01 AM
Unknown Object (File)
Dec 8 2024, 5:13 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