mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-12 20:15:47 +00:00
Updated update-method module to JUnit 5 (#1542)
* Updated saga to JUnit 5 * Update fix for CI job in trampoline module * Updated update-method module to JUnit 5 * Upgraded to latest JUnit Jupiter JUnit 4 is not needed when using JUnit-Vintage * Reverted change to access modifier on Trampoline * Cleanup to resolve code smells * Formatting * Formatting Co-authored-by: Subhrodip Mohanta <hello@subho.xyz>
This commit is contained in:
1 parent
c3c90e2bd4
commit
903453229c
13 files changed
+99
-101
No files matched your search
@@ -98,7 +98,7 @@ public interface Trampoline<T> {
|
||||
return trampoline(this);
|
||||
}
|
||||
|
||||
private T trampoline(final Trampoline<T> trampoline) {
|
||||
T trampoline(final Trampoline<T> trampoline) {
|
||||
return Stream.iterate(trampoline, Trampoline::jump)
|
||||
.filter(Trampoline::complete)
|
||||
.findFirst()
|
||||
|
||||
Reference in new issue
Block a user