File tree Expand file tree Collapse file tree
src/main/java/com/iluwatar/trampoline Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4747 <scope >test</scope >
4848 </dependency >
4949
50- <dependency >
51- <groupId >org.projectlombok</groupId >
52- <artifactId >lombok</artifactId >
53- <version >1.18.10</version >
54- </dependency >
55-
56-
5750 </dependencies >
5851
5952 <build >
Original file line number Diff line number Diff line change 2323
2424package com .iluwatar .trampoline ;
2525
26- import lombok .extern .slf4j .Slf4j ;
26+ import org .slf4j .Logger ;
27+ import org .slf4j .LoggerFactory ;
2728
2829/**
2930 * Trampoline pattern allows to define recursive algorithms by iterative loop.
3233 * and to interleave the execution of functions without hard coding them together or even using
3334 * threads.
3435 */
35- @ Slf4j
3636public class TrampolineApp {
3737
38+ private static final Logger log = LoggerFactory .getLogger (TrampolineApp .class );
39+
3840 /**
3941 * Main program for showing pattern. It does loop with factorial function.
4042 */
You can’t perform that action at this time.
0 commit comments