diff --git a/src/pages/slides/steffen/recap.js b/src/pages/slides/steffen/recap.js index c6fd27e577..e4820e72e2 100644 --- a/src/pages/slides/steffen/recap.js +++ b/src/pages/slides/steffen/recap.js @@ -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" + @@ -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", }} >