Skip to content

Commit 55707cc

Browse files
authored
[Components] Fix typo when logging error (#7643)
The previous message was "Class %s is not an found." and it should be ""Class %s was not found."
1 parent 15420e6 commit 55707cc

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

firebase-components/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Unreleased
22

3+
- [fixed] fixed typo in message logged when a class is not found during component discovery.
4+
35
# 19.0.0
46

57
- [changed] **Breaking Change**: Updated minSdkVersion to API level 23 or higher.

firebase-components/src/main/java/com/google/firebase/components/ComponentDiscovery.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,8 @@ private static ComponentRegistrar instantiate(String registrarName) {
125125
}
126126
return (ComponentRegistrar) loadedClass.getDeclaredConstructor().newInstance();
127127
} catch (ClassNotFoundException e) {
128-
Log.w(TAG, String.format("Class %s is not an found.", registrarName));
128+
Log.w(TAG, String.format("Class %s was not found.", registrarName));
129+
129130
return null;
130131
} catch (IllegalAccessException e) {
131132
throw new InvalidRegistrarException(

0 commit comments

Comments
 (0)