Typo fixes (#78755)

This commit is contained in:
Shi-Hao Hong
2021-03-23 09:23:43 +08:00
committed by GitHub
parent 2eca1f4033
commit 7a88eb97ea
12 changed files with 17 additions and 18 deletions

View File

@@ -214,7 +214,7 @@ class FlutterPlugin implements Plugin<Project> {
project.android.buildTypes.all this.&addFlutterDependencies
}
private static Boolean shouldShrinkResources(Project project) {
private static Boolean shouldShrinkResources(Project project) {
if (project.hasProperty("shrink")) {
return project.property("shrink").toBoolean()
}
@@ -595,7 +595,7 @@ class FlutterPlugin implements Plugin<Project> {
/**
* Gets the directory that contains the Flutter source code.
* This is the the directory containing the `android/` directory.
* This is the directory containing the `android/` directory.
*/
private File getFlutterSourceDirectory() {
if (project.flutter.source == null) {
@@ -842,7 +842,7 @@ class FlutterPlugin implements Plugin<Project> {
}
return copyFlutterAssetsTask
} // end def addFlutterDeps
if (isFlutterAppProject()) {
project.android.applicationVariants.all { variant ->
Task assembleTask = getAssembleTask(variant)

View File

@@ -55,7 +55,7 @@ abstract class PersistentToolState {
/// Whether this client was already determined to be or not be a bot.
bool isRunningOnBot;
/// The last time the the DevTools package was activated from pub.
/// The last time the DevTools package was activated from pub.
DateTime lastDevToolsActivationTime;
}