mirror of
https://github.com/Example-uPagge/debugger.git
synced 2024-06-14 11:22:32 +03:00
Заменил foreach на for
This commit is contained in:
parent
2e4371da4f
commit
78a081c75e
@ -22,7 +22,9 @@ public class PersonService {
|
||||
|
||||
public void showAllPerson() {
|
||||
System.out.println("\nПользователи системы:");
|
||||
names.values().forEach(System.out::println);
|
||||
for (Person person : names.values()) {
|
||||
System.out.println(person);
|
||||
}
|
||||
System.out.println();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user