diff options
author | Martin Polden <mpolden@mpolden.no> | 2019-03-27 15:44:47 +0200 |
---|---|---|
committer | Martin Polden <mpolden@mpolden.no> | 2019-03-28 14:18:53 +0200 |
commit | f3b82a54ef19266d95b72f895d05a5ce98cfe27d (patch) | |
tree | b409cee34ea884f046773b2bc9a4b0de1ea9fc4d /container-core | |
parent | 1adfcd2be22348897702bba70050504422a0c358 (diff) |
Fix name
Diffstat (limited to 'container-core')
-rw-r--r-- | container-core/src/main/java/com/yahoo/restapi/Path.java | 6 |
1 files changed, 3 insertions, 3 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 ca46405d9be..764fa64f954 100644 --- a/container-core/src/main/java/com/yahoo/restapi/Path.java +++ b/container-core/src/main/java/com/yahoo/restapi/Path.java @@ -49,7 +49,7 @@ public class Path { this.elements = path.split("/"); } - private boolean matches_inner(String pathSpec) { + private boolean matchesInner(String pathSpec) { values.clear(); String[] specElements = pathSpec.split("/"); boolean matchPrefix = false; @@ -97,9 +97,9 @@ public class Path { * @return true if the string matches, false otherwise */ public boolean matches(String pathSpec) { - if (matches_inner(pathSpec)) return true; + if (matchesInner(pathSpec)) return true; if (optionalPrefix.isEmpty()) return false; - return matches_inner(optionalPrefix + pathSpec); + return matchesInner(optionalPrefix + pathSpec); } /** |