Skip to content
This repository was archived by the owner on Jul 31, 2022. It is now read-only.

Reorder PredicateHandler parameters #126

Closed
Katsute opened this issue Dec 23, 2020 · 0 comments · Fixed by #127
Closed

Reorder PredicateHandler parameters #126

Katsute opened this issue Dec 23, 2020 · 0 comments · Fixed by #127
Assignees
Labels
refactor Reorganized

Comments

@Katsute
Copy link
Member

Katsute commented Dec 23, 2020

It makes more sense to have the predicate parameter first.

public PredicateHandler(final HttpHandler trueHandler, final HttpHandler falseHandler, final Predicate<HttpExchange> predicate){
T = trueHandler;
F = falseHandler;
this.predicate = predicate;
}

@Katsute Katsute added the refactor Reorganized label Dec 23, 2020
@Katsute Katsute self-assigned this Dec 23, 2020
@Katsute Katsute linked a pull request Dec 24, 2020 that will close this issue
@Katsute Katsute closed this as completed Dec 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
refactor Reorganized
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant