Skip to content

Commit

Permalink
Change function name
Browse files Browse the repository at this point in the history
  • Loading branch information
Sabby Anandan committed Aug 14, 2020
1 parent 994cbde commit 9d8cbae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public static void main(String[] args) {
}

@Bean
public Consumer<Object> process() {
public Consumer<Object> log() {
return result -> System.out.println(result);
}
}
Expand Down

0 comments on commit 9d8cbae

Please sign in to comment.