Skip to content

Commit e0ba7c6

Browse files
Fix typo "SetTestFluttterStub", "FluttterActivity" and "implementantions" (flutter#33551)
As recommended in flutter/engine#33547 (comment), I fixed all typos in one PR. Fixes flutter#104366 Fixes flutter#104367 Fixes flutter#104368 Fixes flutter#104369 Fixes flutter#104370
1 parent c12332b commit e0ba7c6

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

shell/platform/android/io/flutter/embedding/android/FlutterActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1133,7 +1133,7 @@ public void cleanUpFlutterEngine(@NonNull FlutterEngine flutterEngine) {
11331133
* {@link io.flutter.embedding.engine.FlutterEngine} to outlive this {@code FlutterActivity} so
11341134
* that it can be used later in a different {@code Activity}. To accomplish this, the {@link
11351135
* io.flutter.embedding.engine.FlutterEngine} may need to be disconnected from this {@code
1136-
* FluttterActivity} at an unusual time, preventing this {@code FlutterActivity} from correctly
1136+
* FlutterActivity} at an unusual time, preventing this {@code FlutterActivity} from correctly
11371137
* managing the relationship between the {@link io.flutter.embedding.engine.FlutterEngine} and
11381138
* itself.
11391139
*/

shell/platform/common/client_wrapper/testing/stub_flutter_api.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ namespace testing {
1717
// the headers in platform/common/public/.
1818

1919
// Linking this class into a test binary will provide dummy forwarding
20-
// implementantions of that C API, so that the wrapper can be tested separately
20+
// implementations of that C API, so that the wrapper can be tested separately
2121
// from the actual library.
2222
class StubFlutterApi {
2323
public:
@@ -29,7 +29,7 @@ class StubFlutterApi {
2929
// will be forwarded.
3030
static void SetTestStub(StubFlutterApi* stub);
3131

32-
// Returns the current stub, as last set by SetTestFluttterStub.
32+
// Returns the current stub, as last set by SetTestFlutterStub.
3333
static StubFlutterApi* GetTestStub();
3434

3535
virtual ~StubFlutterApi() {}

shell/platform/glfw/client_wrapper/testing/stub_flutter_glfw_api.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ namespace testing {
1616
// the headers in platform/glfw/public/.
1717

1818
// Linking this class into a test binary will provide dummy forwarding
19-
// implementantions of that C API, so that the wrapper can be tested separately
19+
// implementations of that C API, so that the wrapper can be tested separately
2020
// from the actual library.
2121
class StubFlutterGlfwApi {
2222
public:
2323
// Sets |stub| as the instance to which calls to the Flutter library C APIs
2424
// will be forwarded.
2525
static void SetTestStub(StubFlutterGlfwApi* stub);
2626

27-
// Returns the current stub, as last set by SetTestFluttterStub.
27+
// Returns the current stub, as last set by SetTestFlutterStub.
2828
static StubFlutterGlfwApi* GetTestStub();
2929

3030
virtual ~StubFlutterGlfwApi() {}

shell/platform/windows/client_wrapper/testing/stub_flutter_windows_api.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ namespace testing {
1616
// the headers in platform/windows/public/.
1717

1818
// Linking this class into a test binary will provide dummy forwarding
19-
// implementantions of that C API, so that the wrapper can be tested separately
19+
// implementations of that C API, so that the wrapper can be tested separately
2020
// from the actual library.
2121
class StubFlutterWindowsApi {
2222
public:
2323
// Sets |stub| as the instance to which calls to the Flutter library C APIs
2424
// will be forwarded.
2525
static void SetTestStub(StubFlutterWindowsApi* stub);
2626

27-
// Returns the current stub, as last set by SetTestFluttterStub.
27+
// Returns the current stub, as last set by SetTestFlutterStub.
2828
static StubFlutterWindowsApi* GetTestStub();
2929

3030
virtual ~StubFlutterWindowsApi() {}

0 commit comments

Comments
 (0)