Taboo the word "simply" from our API documentation. (#116061)
This commit is contained in:
@@ -50,7 +50,7 @@ class DeferredComponent {
|
||||
|
||||
/// Indicates if the component has loading units assigned.
|
||||
///
|
||||
/// Unassigned components simply reflect the pubspec.yaml configuration directly,
|
||||
/// Unassigned components reflect the pubspec.yaml configuration directly,
|
||||
/// contain no loading unit data, and [loadingUnits] is null. Once assigned, the component
|
||||
/// will contain a set of [loadingUnits] which contains the [LoadingUnit]s that the
|
||||
/// component needs to include. Loading units can be assigned with the [assignLoadingUnits]
|
||||
|
||||
@@ -288,7 +288,7 @@ class _AnsiRun {
|
||||
/// widths is fine, for instance).
|
||||
///
|
||||
/// If [outputPreferences.wrapText] is false, then the text will be returned
|
||||
/// simply split at the newlines, but not wrapped. If [shouldWrap] is specified,
|
||||
/// split at the newlines, but not wrapped. If [shouldWrap] is specified,
|
||||
/// then it overrides the [outputPreferences.wrapText] setting.
|
||||
List<String> _wrapTextAsLines(String text, {
|
||||
int start = 0,
|
||||
|
||||
@@ -297,7 +297,8 @@ String generateString(String value) {
|
||||
|
||||
/// Given a list of strings, placeholders, or helper function calls, concatenate
|
||||
/// them into one expression to be returned.
|
||||
/// If isSingleStringVar is passed, then we want to convert "'$expr'" to simply "expr".
|
||||
///
|
||||
/// If `isSingleStringVar` is passed, then we want to convert "'$expr'" to "expr".
|
||||
String generateReturnExpr(List<String> expressions, { bool isSingleStringVar = false }) {
|
||||
if (expressions.isEmpty) {
|
||||
return "''";
|
||||
|
||||
@@ -700,9 +700,9 @@ void main() {
|
||||
}
|
||||
''';
|
||||
|
||||
/// All messages are simply the template language's message with 'ES - '
|
||||
/// appended. This makes validating test behavior easier. The interpolated
|
||||
/// messages are different where applicable.
|
||||
// All these messages are the template language's message with 'ES - '
|
||||
// appended. This makes validating test behavior easier. The interpolated
|
||||
// messages are different where applicable.
|
||||
final String appEs = r'''
|
||||
{
|
||||
"@@locale": "es",
|
||||
|
||||
Reference in New Issue
Block a user