Skip to content

Commit

Permalink
secureCodeBox#121 Move Overloaded Method Before the Implemented
Browse files Browse the repository at this point in the history
Follow the principle of more details towards the bottom of file.

Signed-off-by: Sven Strittmatter <[email protected]>
  • Loading branch information
Weltraumschaf committed Jul 3, 2024
1 parent 1ce7c07 commit 08f98cc
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@ public final T get(long id) {
return response.getBody();
}

@Override
public final List<T> search() {
return search(Collections.emptyMap());
}

@Override
public final List<T> search(@NonNull Map<String, Object> queryParams) {
final List<T> objects = new LinkedList<>();
Expand All @@ -109,11 +114,6 @@ public final List<T> search(@NonNull Map<String, Object> queryParams) {
return objects;
}

@Override
public final List<T> search() {
return search(Collections.emptyMap());
}

@Override
@SuppressWarnings("unchecked")
public final Optional<T> searchUnique(@NonNull T searchObject) {
Expand Down

0 comments on commit 08f98cc

Please sign in to comment.