Skip to content

Commit b2c4106

Browse files
committed
Updated the comments to a single line
1 parent 58582b7 commit b2c4106

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

auth0/src/main/java/com/auth0/android/authentication/AuthenticationAPIClient.kt

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,7 @@ public class AuthenticationAPIClient @VisibleForTesting(otherwise = VisibleForTe
198198
* @return a request to configure and start that will yield [Credentials]
199199
*/
200200
@Deprecated(
201-
message = """loginWithOTP method is deprecated and will be removed in the next major version of the SDK.
202-
"Use the APIs in the [com.auth0.android.authentication.mfa.MfaApiClient] class instead.""",
201+
message = "loginWithOTP is deprecated and will be removed in the next major version of the SDK. Use the APIs in the [com.auth0.android.authentication.mfa.MfaApiClient] class instead.",
203202
level = DeprecationLevel.WARNING
204203
)
205204
public fun loginWithOTP(mfaToken: String, otp: String): AuthenticationRequest {
@@ -416,8 +415,7 @@ public class AuthenticationAPIClient @VisibleForTesting(otherwise = VisibleForTe
416415
* @return a request to configure and start that will yield [Credentials]
417416
*/
418417
@Deprecated(
419-
message = """loginWithOOB is deprecated and will be removed in the next major version of the SDK.
420-
"Use the APIs in the [com.auth0.android.authentication.mfa.MfaApiClient] class instead.""",
418+
message = "loginWithOOB is deprecated and will be removed in the next major version of the SDK. Use the APIs in the [com.auth0.android.authentication.mfa.MfaApiClient] class instead.",
421419
level = DeprecationLevel.WARNING
422420
)
423421
public fun loginWithOOB(
@@ -457,8 +455,7 @@ public class AuthenticationAPIClient @VisibleForTesting(otherwise = VisibleForTe
457455
* which your application must display to the end-user to be stored securely for future use.
458456
*/
459457
@Deprecated(
460-
message = """loginWithRecoveryCode is deprecated and will be removed in the next major version of the SDK.
461-
"Use the APIs in the [com.auth0.android.authentication.mfa.MfaApiClient] class instead.""",
458+
message = "loginWithRecoveryCode is deprecated and will be removed in the next major version of the SDK. Use the APIs in the [com.auth0.android.authentication.mfa.MfaApiClient] class instead.",
462459
level = DeprecationLevel.WARNING
463460
)
464461
public fun loginWithRecoveryCode(
@@ -495,8 +492,7 @@ public class AuthenticationAPIClient @VisibleForTesting(otherwise = VisibleForTe
495492
* @return a request to configure and start that will yield [Challenge]
496493
*/
497494
@Deprecated(
498-
message = """multifactorChallenge is deprecated and will be removed in the next major version of the SDK.
499-
"Use the APIs in the [com.auth0.android.authentication.mfa.MfaApiClient] class instead.""",
495+
message = "multifactorChallenge is deprecated and will be removed in the next major version of the SDK. Use the APIs in the [com.auth0.android.authentication.mfa.MfaApiClient] class instead.",
500496
level = DeprecationLevel.WARNING
501497
)
502498
public fun multifactorChallenge(

0 commit comments

Comments
 (0)