From c6dc01fac64f22d4cfd424a21916a41bbd4baa9f Mon Sep 17 00:00:00 2001 From: Steven Vascellaro Date: Mon, 25 Apr 2022 10:15:36 -0700 Subject: [PATCH] Fix typo in comments (#33694) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/33694 Fixes a pluralization typo Changelog: [General][Fixed] - Fixed a pluralization typo in docstrings. Reviewed By: javache Differential Revision: D35856572 fbshipit-source-id: 88118be36107025b0b513bf2ec6671304d789204 --- .../com/facebook/react/common/mapbuffer/MapBuffer.kt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ReactAndroid/src/main/java/com/facebook/react/common/mapbuffer/MapBuffer.kt b/ReactAndroid/src/main/java/com/facebook/react/common/mapbuffer/MapBuffer.kt index 545f27d95ea..db6f49de94d 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/common/mapbuffer/MapBuffer.kt +++ b/ReactAndroid/src/main/java/com/facebook/react/common/mapbuffer/MapBuffer.kt @@ -77,7 +77,7 @@ interface MapBuffer : Iterable { * Provides parsed [DataType] annotation associated with the given key. * @param key key to lookup type for * @return data type of the given key. - * @throws IllegalArgumentException if the key doesn't exists + * @throws IllegalArgumentException if the key doesn't exist */ fun getType(key: Int): DataType @@ -85,7 +85,7 @@ interface MapBuffer : Iterable { * Provides parsed [Boolean] value if the entry for given key exists with [DataType.BOOL] type * @param key key to lookup [Boolean] value for * @return value associated with the requested key - * @throws IllegalArgumentException if the key doesn't exists + * @throws IllegalArgumentException if the key doesn't exist * @throws IllegalStateException if the data type doesn't match */ fun getBoolean(key: Int): Boolean @@ -94,7 +94,7 @@ interface MapBuffer : Iterable { * Provides parsed [Int] value if the entry for given key exists with [DataType.INT] type * @param key key to lookup [Int] value for * @return value associated with the requested key - * @throws IllegalArgumentException if the key doesn't exists + * @throws IllegalArgumentException if the key doesn't exist * @throws IllegalStateException if the data type doesn't match */ fun getInt(key: Int): Int @@ -103,7 +103,7 @@ interface MapBuffer : Iterable { * Provides parsed [Double] value if the entry for given key exists with [DataType.DOUBLE] type * @param key key to lookup [Double] value for * @return value associated with the requested key - * @throws IllegalArgumentException if the key doesn't exists + * @throws IllegalArgumentException if the key doesn't exist * @throws IllegalStateException if the data type doesn't match */ fun getDouble(key: Int): Double @@ -112,7 +112,7 @@ interface MapBuffer : Iterable { * Provides parsed [String] value if the entry for given key exists with [DataType.STRING] type * @param key key to lookup [String] value for * @return value associated with the requested key - * @throws IllegalArgumentException if the key doesn't exists + * @throws IllegalArgumentException if the key doesn't exist * @throws IllegalStateException if the data type doesn't match */ fun getString(key: Int): String @@ -121,7 +121,7 @@ interface MapBuffer : Iterable { * Provides parsed [MapBuffer] value if the entry for given key exists with [DataType.MAP] type * @param key key to lookup [MapBuffer] value for * @return value associated with the requested key - * @throws IllegalArgumentException if the key doesn't exists + * @throws IllegalArgumentException if the key doesn't exist * @throws IllegalStateException if the data type doesn't match */ fun getMapBuffer(key: Int): MapBuffer