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)
Sun, Dec 29, 11:04 AM
Unknown Object (File)
Sat, Dec 28, 2:53 PM
Unknown Object (File)
Wed, Dec 25, 5:45 PM
Unknown Object (File)
Dec 12 2024, 5:01 AM
Unknown Object (File)
Dec 8 2024, 5:13 PM
Unknown Object (File)
Nov 29 2024, 12:53 PM
Unknown Object (File)
Nov 29 2024, 12:38 PM
Unknown Object (File)
Nov 25 2024, 9:39 AM
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
Branch
xaction3
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 18150
Build 24398: Run Core Tests
Build 24397: arc lint + arc unit