Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
SteffenLm committed Aug 13, 2023
1 parent a491113 commit bae4eea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/slides/steffen/recap.js
Original file line number Diff line number Diff line change
Expand Up @@ -1436,7 +1436,7 @@ export default function Recap() {
" public int compare(Human h1, Human h2) {\n" +
" if(h1.getAge() > h2.getAge()) {\n" +
" return 1;\n" +
" } else if (h1.getAge() < h2.getAge()) {;\n" +
" } else if (h1.getAge() < h2.getAge()) {\n" +
" return -1;\n" +
" } else {\n" +
" return 0;\n" +
Expand All @@ -1455,8 +1455,8 @@ export default function Recap() {
dangerouslySetInnerHTML={{
__html:
"ArrayList<Human> developers = new ArrayList<>();\n" +
"developers.add(new Human(28);\n" +
"developers.add(new Human(24);\n" +
"developers.add(new Human(28));\n" +
"developers.add(new Human(24));\n" +
"Collections.sort(developers, new AgeAscComparator());\n",
}}
></code>
Expand Down

0 comments on commit bae4eea

Please sign in to comment.