From 08f98cc96d30d344a2c5c8e738498e6576f1fe52 Mon Sep 17 00:00:00 2001 From: Sven Strittmatter Date: Fri, 15 Mar 2024 16:26:31 +0100 Subject: [PATCH] #121 Move Overloaded Method Before the Implemented Follow the principle of more details towards the bottom of file. Signed-off-by: Sven Strittmatter --- .../defectdojo/service/GenericDefectDojoService.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/io/securecodebox/persistence/defectdojo/service/GenericDefectDojoService.java b/src/main/java/io/securecodebox/persistence/defectdojo/service/GenericDefectDojoService.java index 0101403..a8ae69e 100644 --- a/src/main/java/io/securecodebox/persistence/defectdojo/service/GenericDefectDojoService.java +++ b/src/main/java/io/securecodebox/persistence/defectdojo/service/GenericDefectDojoService.java @@ -90,6 +90,11 @@ public final T get(long id) { return response.getBody(); } + @Override + public final List search() { + return search(Collections.emptyMap()); + } + @Override public final List search(@NonNull Map queryParams) { final List objects = new LinkedList<>(); @@ -109,11 +114,6 @@ public final List search(@NonNull Map queryParams) { return objects; } - @Override - public final List search() { - return search(Collections.emptyMap()); - } - @Override @SuppressWarnings("unchecked") public final Optional searchUnique(@NonNull T searchObject) {