PR review

This commit is contained in:
Benoit Marty 2022-05-18 16:09:15 +02:00 committed by Benoit Marty
parent 51fe7b9a93
commit dae0b66c90
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ class MXUsersDevicesMap<E> {
/** /**
* Provides the object for a device id and a user Id. * Provides the object for a device id and a user Id.
* *
* @param userId the object id * @param userId the user id
* @param deviceId the device id * @param deviceId the device id
* @return the object * @return the object
*/ */

View File

@ -123,7 +123,7 @@ internal class RuntimeJsonAdapterFactory<T>(
* @param baseType The base type for which this factory will create adapters. Cannot be Object. * @param baseType The base type for which this factory will create adapters. Cannot be Object.
* @param labelKey The key in the JSON object whose value determines the type to which to map the * @param labelKey The key in the JSON object whose value determines the type to which to map the
* JSON object. * JSON object.
* @param fallbackType * @param fallbackType alternative Type to try in case of the serialization fails
*/ */
@CheckReturnValue @CheckReturnValue
fun <T> of(baseType: Class<T>, labelKey: String, fallbackType: Class<out T>): RuntimeJsonAdapterFactory<T> { fun <T> of(baseType: Class<T>, labelKey: String, fallbackType: Class<out T>): RuntimeJsonAdapterFactory<T> {