Remove unnecessary parenthesis (dotnet/corefxdotnet/coreclr#32419)
author谭九鼎 <109224573@qq.com>
Sun, 23 Sep 2018 18:52:46 +0000 (02:52 +0800)
committerJan Kotas <jkotas@microsoft.com>
Mon, 24 Sep 2018 16:15:42 +0000 (09:15 -0700)
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/72ba9e20d488a85e8a7eac0ff62a01968a2f6be5

src/libraries/System.Private.CoreLib/src/System/Globalization/CompareInfo.cs

index 92742c7..66a4023 100644 (file)
@@ -297,7 +297,7 @@ namespace System.Globalization
 
         public virtual int Compare(string string1, string string2)
         {
-            return (Compare(string1, string2, CompareOptions.None));
+            return Compare(string1, string2, CompareOptions.None);
         }
 
         public virtual int Compare(string string1, string string2, CompareOptions options)