From 078cdb6ae6df143eadd00c49a17ae3c0bed45f9e Mon Sep 17 00:00:00 2001 From: YeongJong Lee Date: Mon, 22 Jun 2020 13:49:14 +0900 Subject: [PATCH] [NUI] remove unused parameter from Control.Initialize (#1682) Fixes CA1801 --- src/Tizen.NUI.Components/Controls/Control.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Tizen.NUI.Components/Controls/Control.cs b/src/Tizen.NUI.Components/Controls/Control.cs index 9d777b1..7fcde28 100755 --- a/src/Tizen.NUI.Components/Controls/Control.cs +++ b/src/Tizen.NUI.Components/Controls/Control.cs @@ -78,7 +78,7 @@ namespace Tizen.NUI.Components ApplyStyle(viewStyle); } - Initialize(null); + Initialize(); } /// @@ -90,7 +90,7 @@ namespace Tizen.NUI.Components [EditorBrowsable(EditorBrowsableState.Never)] public Control(ControlStyle style) : base(style) { - Initialize(null); + Initialize(); } /// @@ -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; -- 2.7.4