File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
common/src/main/java/com/microsoft/identity/common/internal/numberMatch Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ package com.microsoft.identity.common.internal.numberMatch
2525import com.microsoft.identity.common.java.opentelemetry.AttributeName
2626import com.microsoft.identity.common.java.opentelemetry.SpanExtension
2727import com.microsoft.identity.common.logging.Logger
28+ import java.util.concurrent.ConcurrentHashMap
2829
2930/* *
3031 * Helper to facilitate NumberMatchFlow. Used in conjunction with {@link AuthUxJavaScriptInterface}
@@ -42,7 +43,7 @@ class NumberMatchHelper {
4243 // long enough for AuthApp to call the broker api to fetch the number match
4344 companion object {
4445 val TAG = NumberMatchHelper ::class .java.simpleName
45- val numberMatchMap: HashMap <String , String > = HashMap ()
46+ val numberMatchMap: ConcurrentHashMap <String , String > = ConcurrentHashMap ()
4647
4748 // Regex for GUID: 8-4-4-4-12 hex digits, case-insensitive
4849 val guidRegex = Regex (" ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$" )
You can’t perform that action at this time.
0 commit comments