Skip to content

Commit

Permalink
Fix method name in Lecture 04 slide snippet
Browse files Browse the repository at this point in the history
Co-authored-by: teodositashev<[email protected]>
  • Loading branch information
100yo committed Nov 28, 2023
1 parent 157851d commit fc7fc64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 04-collections-clean-code/lecture/slides.md
Original file line number Diff line number Diff line change
Expand Up @@ -1103,7 +1103,7 @@ public static long factorial(int n) { // business logic
}

public static void main(String... args) {
int input = readAndValidate(new Scanner(System.in));
int input = readInput(new Scanner(System.in));
long result = factorial(input);
printOutput(result);
}
Expand Down

0 comments on commit fc7fc64

Please sign in to comment.