Skip to content

Commit 35d52ea

Browse files
author
SlavaRa
committed
Replace 'if (string_value != null && !string_value.Equals(""))' by 'if (!string.IsNullOrEmpty(inheritstyle))'
1 parent ba8978f commit 35d52ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PluginCore/ScintillaNet/Configuration/StyleClass.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public StyleClass ParentClass
4444
{
4545
get
4646
{
47-
if (inheritstyle != null && !inheritstyle.Equals(""))
47+
if (!string.IsNullOrEmpty(inheritstyle))
4848
{
4949
return _parent.MasterScintilla.GetStyleClass(inheritstyle);
5050
}

0 commit comments

Comments
 (0)