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, Feb 9, 4:38 AM
Unknown Object (File)
Sun, Feb 9, 4:38 AM
Unknown Object (File)
Sun, Feb 9, 4:38 AM
Unknown Object (File)
Sat, Feb 8, 6:04 AM
Unknown Object (File)
Mon, Feb 3, 7:40 PM
Unknown Object (File)
Wed, Jan 29, 3:42 AM
Unknown Object (File)
Fri, Jan 24, 10:20 PM
Unknown Object (File)
Fri, Jan 24, 10:20 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
Branch
xaction3
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 18150
Build 24398: Run Core Tests
Build 24397: arc lint + arc unit