diff options
author | Jon Marius Venstad <jonmv@users.noreply.github.com> | 2022-04-08 16:24:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-08 16:24:09 +0200 |
commit | 05606dfe1bba4bcadc1ae4fae95b626f6441cd52 (patch) | |
tree | f35c24e158a5cd86af535f51f1a6093d8c80322c /config-lib/src/main/java/com | |
parent | db9e570a36decb24e6cb13f44bd0ff444ab762e3 (diff) |
Revert "Jonmv/unify hostname classes"
Diffstat (limited to 'config-lib/src/main/java/com')
-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; } |