-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EPMRPP-82209 exclude skipped tests option is mandatory #1914
Conversation
...reportportal/core/widget/content/updater/validator/ComponentHealthCheckContentValidator.java
Outdated
Show resolved
Hide resolved
...reportportal/core/widget/content/updater/validator/ComponentHealthCheckContentValidator.java
Outdated
Show resolved
Hide resolved
@@ -75,6 +75,16 @@ public static boolean getBooleanByKey(String key, WidgetOptions widgetOptions) { | |||
.orElse(false); | |||
} | |||
|
|||
public static boolean isBooleanPresent(String key, WidgetOptions widgetOptions) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing a Javadoc comment.
@@ -75,6 +75,16 @@ | |||
.orElse(false); | |||
} | |||
|
|||
public static boolean isBooleanPresent(String key, WidgetOptions widgetOptions) { | |||
return ofNullable(widgetOptions) | |||
.map(wo -> MapUtils.isNotEmpty(wo.getOptions()) && |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'&&' should be on a new line.
No description provided.