Merge pull request #8155 from alessiostalla/BAEL-18411
#BAEL-18411 change code sample to use equals instead of equalsIgnoreC…
This commit is contained in:
commit
486f924c73
|
@ -33,9 +33,9 @@ public class CollectionFilteringUnitTest {
|
||||||
|
|
||||||
for (Employee employee : originalList) {
|
for (Employee employee : originalList) {
|
||||||
for (String name : nameFilter) {
|
for (String name : nameFilter) {
|
||||||
if (employee.getName()
|
if (employee.getName().equals(name)) {
|
||||||
.equalsIgnoreCase(name)) {
|
|
||||||
filteredList.add(employee);
|
filteredList.add(employee);
|
||||||
|
//break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue