mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-26 05:02:36 +01:00
Use || operator instead 'if' -> 'if'
This commit is contained in:
parent
9ea729b2c7
commit
d0dda4b1b3
@ -135,13 +135,7 @@ namespace Nikse.SubtitleEdit.Logic.SubtitleFormats
|
||||
|
||||
private static bool IsText(string text)
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(text))
|
||||
return false;
|
||||
|
||||
if (Utilities.IsInteger(text))
|
||||
return false;
|
||||
|
||||
if (RegexTimeCodes.IsMatch(text))
|
||||
if (string.IsNullOrWhiteSpace(text) || Utilities.IsInteger(text) || RegexTimeCodes.IsMatch(text))
|
||||
return false;
|
||||
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user