[NUI] remove unused parameter from Control.Initialize (#1682)
authorYeongJong Lee <cleanlyj@naver.com>
Mon, 22 Jun 2020 04:49:14 +0000 (13:49 +0900)
committerGitHub <noreply@github.com>
Mon, 22 Jun 2020 04:49:14 +0000 (13:49 +0900)
Fixes CA1801

src/Tizen.NUI.Components/Controls/Control.cs

index 9d777b1..7fcde28 100755 (executable)
@@ -78,7 +78,7 @@ namespace Tizen.NUI.Components
                 ApplyStyle(viewStyle);
             }
 
-            Initialize(null);
+            Initialize();
         }
 
         /// <summary>
@@ -90,7 +90,7 @@ namespace Tizen.NUI.Components
         [EditorBrowsable(EditorBrowsableState.Never)]
         public Control(ControlStyle style) : base(style)
         {
-            Initialize(null);
+            Initialize();
         }
 
         /// <summary>
@@ -111,7 +111,7 @@ namespace Tizen.NUI.Components
             ApplyStyle(viewStyle);
             this.StyleName = styleSheet;
 
-            Initialize(StyleName);
+            Initialize();
         }
 
         /// Internal used.
@@ -302,7 +302,7 @@ namespace Tizen.NUI.Components
             return new ControlStyle();
         }
 
-        private void Initialize(string style)
+        private void Initialize()
         {
             ControlState = ControlStates.Normal;