summaryrefslogtreecommitdiffstats
path: root/vespajlib
diff options
context:
space:
mode:
authorHarald Musum <musum@yahooinc.com>2024-04-11 09:34:57 +0200
committerHarald Musum <musum@yahooinc.com>2024-04-11 09:34:57 +0200
commit73e63a0489263a1c7671e6f3cb29d31dcdd09c37 (patch)
treea2e589b79be05b5558cdd9d03ff089f1690ea5b4 /vespajlib
parented76cd45f86c8af9431860a9ac7c40fc59fb9e3c (diff)
Validate url for models
Diffstat (limited to 'vespajlib')
-rw-r--r--vespajlib/src/main/java/com/yahoo/net/URI.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/vespajlib/src/main/java/com/yahoo/net/URI.java b/vespajlib/src/main/java/com/yahoo/net/URI.java
index d008c589824..5111ad39e88 100644
--- a/vespajlib/src/main/java/com/yahoo/net/URI.java
+++ b/vespajlib/src/main/java/com/yahoo/net/URI.java
@@ -80,7 +80,7 @@ public class URI implements Cloneable, Comparable<URI> {
}
/**
- * Creates an URI, optionaly keeping the fragment (the part starting by #).
+ * Creates a URI, optionally keeping the fragment (the part starting by #).
* If the uri is hierarchical, it is normalized and incorrect hierarchical uris
* which looks like urls are attempted repaired.
*
@@ -95,7 +95,7 @@ public class URI implements Cloneable, Comparable<URI> {
}
/**
- * Creates an URI, optionaly keeping the fragment (the part starting by #).
+ * Creates a URI, optionally keeping the fragment (the part starting by #).
* If the uri is hierarchical, it is normalized and incorrect hierarchical uris
* which looks like urls are attempted repaired.
*