diff options
author | Valerij Fredriksen <freva@users.noreply.github.com> | 2022-04-08 16:25:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-08 16:25:12 +0200 |
commit | 4ffc54339186574491a32b3166223c3fc50ba8fe (patch) | |
tree | f35c24e158a5cd86af535f51f1a6093d8c80322c /config-lib/src/main/java/com/yahoo/config/PathNode.java | |
parent | db9e570a36decb24e6cb13f44bd0ff444ab762e3 (diff) | |
parent | 05606dfe1bba4bcadc1ae4fae95b626f6441cd52 (diff) |
Merge pull request #22065 from vespa-engine/revert-22049-jonmv/unify-hostname-classes
Revert "Jonmv/unify hostname classes"
Diffstat (limited to 'config-lib/src/main/java/com/yahoo/config/PathNode.java')
-rw-r--r-- | config-lib/src/main/java/com/yahoo/config/PathNode.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config-lib/src/main/java/com/yahoo/config/PathNode.java b/config-lib/src/main/java/com/yahoo/config/PathNode.java index ea4c657af8c..03e6fb51086 100644 --- a/config-lib/src/main/java/com/yahoo/config/PathNode.java +++ b/config-lib/src/main/java/com/yahoo/config/PathNode.java @@ -25,7 +25,7 @@ public class PathNode extends LeafNode<Path> { super(true); this.value = Path.of(fileReference.value()); if (value.normalize().toString().startsWith("..")) - throw new IllegalArgumentException("path may not start with '..', but got: " + value); + throw new IllegalArgumentException("path may not start with '..', but got :" + value); this.fileReference = fileReference; } |