Skip to content

Commit 17525cd

Browse files
committed
fix typo
1 parent 2ac6649 commit 17525cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java2/functionalprogramming/Company.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public Company() {
1212
this.employees = new ArrayList<>(List.of(new Human(80), new Human(10), new Human(65)));
1313
}
1414

15-
public void sortByAgeDescending() {
15+
public void sortByAgeAscending() {
1616
// Klasse
1717
Collections.sort(employees, new AgeComparator());
1818

0 commit comments

Comments
 (0)