Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
philipp94831 committed Jun 25, 2024
1 parent dd3358a commit ecb6104
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ private interface Stoppable {
/**
* Provides access to a {@link CleanUpRunner} and closes the associated {@link ExecutableApp}
*/
@RequiredArgsConstructor
@RequiredArgsConstructor(access = AccessLevel.PROTECTED)
public static class CleanableApp<CR extends CleanUpRunner> implements AutoCloseable, Stoppable {
private final @NonNull ExecutableApp<?, ?, ?> app;
@Getter
Expand All @@ -356,8 +356,8 @@ public void stop() {
/**
* Provides access to a {@link Runner} and closes the associated {@link ExecutableApp}
*/
@RequiredArgsConstructor
public static class RunnableApp<R extends Runner> implements AutoCloseable, Stoppable {
@RequiredArgsConstructor(access = AccessLevel.PROTECTED)
public static final class RunnableApp<R extends Runner> implements AutoCloseable, Stoppable {
private final @NonNull ExecutableApp<?, ?, ?> app;
@Getter
private final @NonNull R runner;
Expand Down

0 comments on commit ecb6104

Please sign in to comment.