Merge pull request #8155 from alessiostalla/BAEL-18411

#BAEL-18411 change code sample to use equals instead of equalsIgnoreC…
This commit is contained in:
Josh Cummings 2019-11-10 00:23:58 -07:00 committed by GitHub
commit 486f924c73
1 changed files with 2 additions and 2 deletions

View File

@ -33,9 +33,9 @@ public class CollectionFilteringUnitTest {
for (Employee employee : originalList) {
for (String name : nameFilter) {
if (employee.getName()
.equalsIgnoreCase(name)) {
if (employee.getName().equals(name)) {
filteredList.add(employee);
//break;
}
}
}