summaryrefslogtreecommitdiffhomepage
path: root/app
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-12-11 01:02:55 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2018-12-11 01:02:55 +0100
commite1965f121ce01a7ae5b959fba699a685a87a3d5e (patch)
tree61ecb7bc94c7cfb88923c228bc3a81886d07af0a /app
parentb2c9b3500cd2aae8b6d5eab5863b0fb72dedbefd (diff)
Lowercase endpoint in exception message
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'app')
-rw-r--r--app/src/main/java/com/wireguard/config/InetEndpoint.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/com/wireguard/config/InetEndpoint.java b/app/src/main/java/com/wireguard/config/InetEndpoint.java
index 962d97c6..355b325a 100644
--- a/app/src/main/java/com/wireguard/config/InetEndpoint.java
+++ b/app/src/main/java/com/wireguard/config/InetEndpoint.java
@@ -44,7 +44,7 @@ public final class InetEndpoint {
public static InetEndpoint parse(final String endpoint) {
if (FORBIDDEN_CHARACTERS.matcher(endpoint).find())
- throw new IllegalArgumentException("Forbidden characters in Endpoint");
+ throw new IllegalArgumentException("Forbidden characters in endpoint");
final URI uri;
try {
uri = new URI("wg://" + endpoint);