diff options
author | Jon Marius Venstad <venstad@gmail.com> | 2020-11-23 09:50:10 +0100 |
---|---|---|
committer | Jon Marius Venstad <venstad@gmail.com> | 2020-11-23 09:50:10 +0100 |
commit | c404cb9beebdf9cdb6eba563eef220cfe4f318a1 (patch) | |
tree | 333de2813c6377e6bc064d74041c91d25348d216 /container-core | |
parent | ea0c57ca65864ee3261e00c795fcc5cef91c24b2 (diff) |
Revert "Revert "Jonmv/reindexing rest api""
This reverts commit 278967c98483da6b1308d34bd7b2b77e2f690288.
Diffstat (limited to 'container-core')
-rw-r--r-- | container-core/src/main/java/com/yahoo/restapi/Path.java | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/container-core/src/main/java/com/yahoo/restapi/Path.java b/container-core/src/main/java/com/yahoo/restapi/Path.java index fe65245fd15..23a791e7532 100644 --- a/container-core/src/main/java/com/yahoo/restapi/Path.java +++ b/container-core/src/main/java/com/yahoo/restapi/Path.java @@ -42,24 +42,6 @@ public class Path { private final Map<String, String> values = new HashMap<>(); private String rest = ""; - /** - * @deprecated use {@link #Path(URI)} for correct handling of URL encoded paths. - */ - @Deprecated - public Path(String path) { - this(path, ""); - } - - /** - * @deprecated use {@link #Path(URI, String)} for correct handling of URL encoded paths. - */ - @Deprecated - public Path(String path, String optionalPrefix) { - this.optionalPrefix = optionalPrefix; - this.pathString = path; - this.elements = path.split("/"); - } - public Path(URI uri) { this(uri, ""); } |