Skip to content
Snippets Groups Projects

Modify to comply with SonarQube

Merged Xiangliang Meng requested to merge DavidMeng-FixSonarQubeBlockers into master
2 files
+ 2
4
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -85,10 +85,7 @@ public class ExpiryTimeUtil {
}
public boolean isInputPatternSupported(String input) {
if (null != input && !getTimeUnitForInput(input).isPresent()) {
return false;
}
return true;
return null == input || getTimeUnitForInput(input).isPresent();
}
private Optional<TimeUnitEnum> getTimeUnitForInput(String input) {
Loading