Skip to content

Commit 3b25675

Browse files
author
prsaminathan
committed
Update:
1. Address PR comments, moved new kotlin files to 'common4j/src/main/com/microsoft/identity/common/java/' to keep it consistent with rest of kotlin file location.
1 parent 49db1f5 commit 3b25675

File tree

6 files changed

+11
-60
lines changed

6 files changed

+11
-60
lines changed

common/src/main/java/com/microsoft/identity/common/internal/result/MsalBrokerResultAdapter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
import com.microsoft.identity.common.internal.request.AuthenticationSchemeTypeAdapter;
6161
import com.microsoft.identity.common.internal.util.GzipUtil;
6262
import com.microsoft.identity.common.java.authorities.AzureActiveDirectoryAudience;
63-
import com.microsoft.identity.common.kotlin.broker.BrokerPerformanceMetrics;
63+
import com.microsoft.identity.common.java.broker.BrokerPerformanceMetrics;
6464
import com.microsoft.identity.common.java.cache.CacheRecord;
6565
import com.microsoft.identity.common.java.cache.ICacheRecord;
6666
import com.microsoft.identity.common.java.commands.AcquirePrtSsoTokenBatchResult;

common4j/src/main/com/microsoft/identity/common/kotlin/broker/BrokerPerformanceMetrics.kt renamed to common4j/src/main/com/microsoft/identity/common/java/broker/BrokerPerformanceMetrics.kt

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,4 @@
1-
// Copyright (c) Microsoft Corporation.
2-
// All rights reserved.
3-
//
4-
// This code is licensed under the MIT License.
5-
//
6-
// Permission is hereby granted, free of charge, to any person obtaining a copy
7-
// of this software and associated documentation files(the "Software"), to deal
8-
// in the Software without restriction, including without limitation the rights
9-
// to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
10-
// copies of the Software, and to permit persons to whom the Software is
11-
// furnished to do so, subject to the following conditions :
12-
//
13-
// The above copyright notice and this permission notice shall be included in
14-
// all copies or substantial portions of the Software.
15-
//
16-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22-
// THE SOFTWARE.
23-
package com.microsoft.identity.common.kotlin.broker
1+
package com.microsoft.identity.common.java.broker
242

253
import com.microsoft.identity.common.java.logging.Logger
264

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
package com.microsoft.identity.common.java.broker
2+
3+
interface IBrokerPerformanceMetricsProvider {
4+
var brokerPerformanceMetrics: BrokerPerformanceMetrics
5+
}

common4j/src/main/com/microsoft/identity/common/java/exception/BaseException.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
import com.microsoft.identity.common.java.telemetry.Telemetry;
2727
import com.microsoft.identity.common.java.telemetry.events.ErrorEvent;
2828
import com.microsoft.identity.common.java.util.StringUtil;
29-
import com.microsoft.identity.common.kotlin.broker.BrokerPerformanceMetrics;
30-
import com.microsoft.identity.common.kotlin.broker.IBrokerPerformanceMetricsProvider;
29+
import com.microsoft.identity.common.java.broker.BrokerPerformanceMetrics;
30+
import com.microsoft.identity.common.java.broker.IBrokerPerformanceMetricsProvider;
3131

3232
import java.util.ArrayList;
3333
import java.util.Arrays;

common4j/src/main/com/microsoft/identity/common/java/result/AcquireTokenResult.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,8 @@
2525
import com.microsoft.identity.common.java.WarningType;
2626
import com.microsoft.identity.common.java.providers.oauth2.TokenResult;
2727
import com.microsoft.identity.common.java.providers.oauth2.AuthorizationResult;
28-
import com.microsoft.identity.common.java.result.ILocalAuthenticationResult;
29-
import com.microsoft.identity.common.kotlin.broker.BrokerPerformanceMetrics;
30-
import com.microsoft.identity.common.kotlin.broker.IBrokerPerformanceMetricsProvider;
31-
32-
import javax.annotation.Nullable;
28+
import com.microsoft.identity.common.java.broker.BrokerPerformanceMetrics;
29+
import com.microsoft.identity.common.java.broker.IBrokerPerformanceMetricsProvider;
3330

3431
public class AcquireTokenResult implements IBrokerPerformanceMetricsProvider {
3532

common4j/src/main/com/microsoft/identity/common/kotlin/broker/IBrokerPerformanceMetricsProvider.kt

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)