Merge pull request #6930 from eugenp/BAEL-2776-v2

fix string test
This commit is contained in:
Loredana Crusoveanu
2019-05-11 09:45:56 +03:00
committed by GitHub

View File

@@ -101,7 +101,7 @@ public class OptionalChainingUnitTest {
}
private Optional<String> createOptional(String input) {
if (input == null || input == "" || input == "empty") {
if (input == null || "".equals(input) || "empty".equals(input)) {
return Optional.empty();
}