Skip to content

Commit a801e69

Browse files
fshcheglovCommit Queue
authored andcommitted
Consolidate fragment reading into _readTemplateFragment
Replace eight bespoke implementations for reading fragments with the existing `_readTemplateFragment()` method. This enforces the consistent use of the template method design pattern, reduces code duplication, and makes future maintenance easier. Change-Id: If213b146e4b055523432c6d12f36994cac8f38c1 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/436820 Reviewed-by: Paul Berry <[email protected]> Reviewed-by: Konstantin Shcheglov <[email protected]> Commit-Queue: Paul Berry <[email protected]>
1 parent 1e639b9 commit a801e69

File tree

1 file changed

+194
-250
lines changed

1 file changed

+194
-250
lines changed

0 commit comments

Comments
 (0)