chore: make code style consistent

This commit is contained in:
Citymonstret 2022-06-10 10:24:50 +02:00 committed by Jason
parent a2cea2f33e
commit 89ec3fbf29
380 changed files with 479 additions and 936 deletions

View file

@ -39,5 +39,4 @@ public interface TaskConsumer<I> extends Consumer<@NonNull I>, TaskRecipeStep {
*/
@Override
void accept(@NonNull I input);
}

View file

@ -49,5 +49,4 @@ public final class TaskFactory {
public @NonNull TaskRecipe recipe() {
return new TaskRecipe(this.synchronizer);
}
}

View file

@ -49,5 +49,4 @@ public interface TaskFunction<I, O> extends Function<@NonNull I, @NonNull O>, Ta
*/
@Override
@NonNull O apply(@NonNull I input);
}

View file

@ -180,7 +180,6 @@ public final class TaskRecipe {
this.execute(() -> {
});
}
}
/**
@ -234,7 +233,5 @@ public final class TaskRecipe {
this.execute(() -> {
});
}
}
}

View file

@ -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);
}