Skip to content

Commit 41c9d38

Browse files
committed
Update comments.
#667 (comment)
1 parent 8133210 commit 41c9d38

File tree

5 files changed

+10
-5
lines changed

5 files changed

+10
-5
lines changed

Shared/Samples/Add feature layers/AddFeatureLayersView.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ struct AddFeatureLayersView: View {
5454
ArcGISEnvironment.authenticationManager.arcGISAuthenticationChallengeHandler = ChallengeHandler()
5555
}
5656
.onTeardown {
57-
// Resets the URL session challenge handler to use default handling.
57+
// Resets the URL session challenge handler to use default handling
58+
// and removes all credentials.
5859
ArcGISEnvironment.authenticationManager.arcGISAuthenticationChallengeHandler = nil
5960
ArcGISEnvironment.authenticationManager.arcGISCredentialStore.removeAll()
6061
}

Shared/Samples/Display content of utility network container/DisplayContentOfUtilityNetworkContainerView.Model.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ extension DisplayContentOfUtilityNetworkContainerView {
7474

7575
/// Cleans up the model's setup.
7676
func tearDown() {
77-
// Resets the URL session challenge handler to use default handling.
77+
// Resets the URL session challenge handler to use default handling
78+
// and removes all credentials.
7879
ArcGISEnvironment.authenticationManager.arcGISAuthenticationChallengeHandler = nil
7980
ArcGISEnvironment.authenticationManager.arcGISCredentialStore.removeAll()
8081
}

Shared/Samples/Run valve isolation trace/RunValveIsolationTraceView.Model.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,8 @@ extension RunValveIsolationTraceView {
113113

114114
/// Cleans up the model's setup.
115115
func tearDown() {
116-
// Resets the URL session challenge handler to use default handling.
116+
// Resets the URL session challenge handler to use default handling
117+
// and removes all credentials.
117118
ArcGISEnvironment.authenticationManager.arcGISAuthenticationChallengeHandler = nil
118119
ArcGISEnvironment.authenticationManager.arcGISCredentialStore.removeAll()
119120
}

Shared/Samples/Show utility associations/ShowUtilityAssociationsView.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,8 @@ private extension ShowUtilityAssociationsView {
144144

145145
/// Cleans up the model's setup.
146146
func tearDown() {
147-
// Resets the URL session challenge handler to use default handling.
147+
// Resets the URL session challenge handler to use default handling
148+
// and removes all credentials.
148149
ArcGISEnvironment.authenticationManager.arcGISAuthenticationChallengeHandler = nil
149150
ArcGISEnvironment.authenticationManager.arcGISCredentialStore.removeAll()
150151
}

Shared/Samples/Trace utility network/TraceUtilityNetworkView.Model.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ extension TraceUtilityNetworkView {
9393

9494
/// Cleans up the model's setup.
9595
func tearDown() {
96-
// Resets the URL session challenge handler to use default handling.
96+
// Resets the URL session challenge handler to use default handling
97+
// and removes all credentials.
9798
ArcGISEnvironment.authenticationManager.arcGISAuthenticationChallengeHandler = nil
9899
ArcGISEnvironment.authenticationManager.arcGISCredentialStore.removeAll()
99100
}

0 commit comments

Comments
 (0)