aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/de/cowtipper/cowlection/error
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/de/cowtipper/cowlection/error')
-rw-r--r--src/main/java/de/cowtipper/cowlection/error/ApiHttpErrorEvent.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/main/java/de/cowtipper/cowlection/error/ApiHttpErrorEvent.java b/src/main/java/de/cowtipper/cowlection/error/ApiHttpErrorEvent.java
index 757a2bf..45bb07f 100644
--- a/src/main/java/de/cowtipper/cowlection/error/ApiHttpErrorEvent.java
+++ b/src/main/java/de/cowtipper/cowlection/error/ApiHttpErrorEvent.java
@@ -21,11 +21,6 @@ public class ApiHttpErrorEvent extends Event {
return url;
}
- public String getBaseUrl() {
- int queryParamStart = url.indexOf('?', 10);
- return queryParamStart > 0 ? url.substring(0, queryParamStart) : url;
- }
-
public boolean wasUsingApiKey() {
return wasUsingApiKey;
}