Unverified Commit 66f424f0 authored by Alexandre Ardhuin's avatar Alexandre Ardhuin Committed by GitHub

fix some bad indentations (#26921)

* fix some bad indentations

* remove suspicious line
parent f329b462
......@@ -83,4 +83,6 @@ class ValueKey<T> extends LocalKey {
}
}
class _TypeLiteral<T> { Type get type => T; }
class _TypeLiteral<T> {
Type get type => T;
}
......@@ -54,7 +54,8 @@ abstract class LicenseEntry {
}
enum _LicenseEntryWithLineBreaksParserState {
beforeParagraph, inParagraph,
beforeParagraph,
inParagraph,
}
/// Variant of [LicenseEntry] for licenses that separate paragraphs with blank
......
......@@ -168,7 +168,7 @@ class ScaleGestureRecognizer extends OneSequenceGestureRecognizer {
_LineBetweenPointers _initialLine;
_LineBetweenPointers _currentLine;
Map<int, Offset> _pointerLocations;
List<int> _pointerQueue; /// A queue to sort pointers in order of entrance
List<int> _pointerQueue; // A queue to sort pointers in order of entrance
final Map<int, VelocityTracker> _velocityTrackers = <int, VelocityTracker>{};
double get _scaleFactor => _initialSpan > 0.0 ? _currentSpan / _initialSpan : 1.0;
......
......@@ -5,9 +5,7 @@
import 'package:flutter/foundation.dart';
import '../flutter_test_alternative.dart';
enum _TestEnum {
a, b, c, d, e, f, g, h,
}
enum _TestEnum { a, b, c, d, e, f, g, h, }
void main() {
test('BitField control test', () {
......
......@@ -449,7 +449,8 @@ Future<void> _buildGradleProjectV2(
if (buildInfo.createPatch) {
final AndroidApk package = AndroidApk.fromApk(apkFile);
final Directory baselineDir = fs.directory(buildInfo.baselineDir);
final File baselineApkFile = baselineDir.childFile('${package.versionCode}.apk');if (!baselineApkFile.existsSync())
final File baselineApkFile = baselineDir.childFile('${package.versionCode}.apk');
if (!baselineApkFile.existsSync())
throwToolExit('Error: Could not find baseline package ${baselineApkFile.path}.');
printStatus('Found baseline package ${baselineApkFile.path}.');
......
......@@ -640,7 +640,6 @@ class PubspecYaml {
// place to insert our transitive dependencies.
if (section == Section.dependencies)
endOfDirectDependencies = output.length;
endOfDevDependencies = output.length;
if (section == Section.devDependencies)
endOfDevDependencies = output.length;
section = data.section; // track which section we're now in.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment