chore: make code style consistent
This commit is contained in:
parent
a2cea2f33e
commit
89ec3fbf29
380 changed files with 479 additions and 936 deletions
|
|
@ -39,5 +39,4 @@ public interface TaskConsumer<I> extends Consumer<@NonNull I>, TaskRecipeStep {
|
|||
*/
|
||||
@Override
|
||||
void accept(@NonNull I input);
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -49,5 +49,4 @@ public final class TaskFactory {
|
|||
public @NonNull TaskRecipe recipe() {
|
||||
return new TaskRecipe(this.synchronizer);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -49,5 +49,4 @@ public interface TaskFunction<I, O> extends Function<@NonNull I, @NonNull O>, Ta
|
|||
*/
|
||||
@Override
|
||||
@NonNull O apply(@NonNull I input);
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -180,7 +180,6 @@ public final class TaskRecipe {
|
|||
this.execute(() -> {
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -234,7 +233,5 @@ public final class TaskRecipe {
|
|||
this.execute(() -> {
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -72,5 +72,4 @@ public interface TaskSynchronizer {
|
|||
* @return Future that completes with the output
|
||||
*/
|
||||
<I, O> CompletableFuture<O> runAsynchronous(@NonNull I input, @NonNull TaskFunction<I, O> function);
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue