Skip to content

Commit 655f76b

Browse files
committed
changing String to string
1 parent 26a0433 commit 655f76b

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/ServiceManagement/StorSimple/Commands.StorSimple/Library/IKeyManager.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace Microsoft.WindowsAzure.Commands.StorSimple.Cmdlets.Library
2323
/// </summary>
2424
public interface IKeyManager
2525
{
26-
KeyStoreOperationStatus PersistKey(String keyValue);
27-
KeyStoreOperationStatus RetrieveKey(out String keyValue);
26+
KeyStoreOperationStatus PersistKey(string keyValue);
27+
KeyStoreOperationStatus RetrieveKey(out string keyValue);
2828
}
2929
}

src/ServiceManagement/StorSimple/Commands.StorSimple/Library/LocalKeyStoreManager.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public class LocalKeyStoreManager : IKeyManager
5151
#region ctor
5252
public LocalKeyStoreManager(string keyStorefilePath, bool overwriteFileIfExists = true)
5353
{
54-
if (String.IsNullOrEmpty(keyStorefilePath))
54+
if (string.IsNullOrEmpty(keyStorefilePath))
5555
{
5656
throw new ArgumentNullException("keyStorefilePath");
5757
}
@@ -69,9 +69,9 @@ public LocalKeyStoreManager(string keyStorefilePath, bool overwriteFileIfExists
6969
/// <param name="keyValue">the string that needs to be encrypted</param>
7070
/// <param name="fileName">the filename that can be used</param>
7171
/// <returns></returns>
72-
public KeyStoreOperationStatus PersistKey(String keyValue)
72+
public KeyStoreOperationStatus PersistKey(string keyValue)
7373
{
74-
if (String.IsNullOrEmpty(keyValue))
74+
if (string.IsNullOrEmpty(keyValue))
7575
return KeyStoreOperationStatus.PERSIST_EMPTY_KEY;
7676

7777
if (File.Exists(KeyStorefilePath) && !OverwriteFileIfExists)

src/ServiceManagement/StorSimple/Commands.StorSimple/StorSimpleCmdletBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ internal string GetEndpointFromHostname(string hostname)
376376
return hostname.Substring(hostname.IndexOf('.') + 1);
377377
}
378378

379-
internal Exception GetGenericException(String exceptionMessage, Exception innerException)
379+
internal Exception GetGenericException(string exceptionMessage, Exception innerException)
380380
{
381381
return new Exception(exceptionMessage, innerException);
382382
}

0 commit comments

Comments
 (0)