From f16f184253f58e04ad950ba23d8fc0d437bc34e9 Mon Sep 17 00:00:00 2001 From: Max Dor Date: Sat, 18 May 2019 01:57:40 +0200 Subject: [PATCH] Minor internal changes - Fix log statement to include expected value - Change access level to method --- src/main/java/io/kamax/mxisd/matrix/IdentityServerUtils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/io/kamax/mxisd/matrix/IdentityServerUtils.java b/src/main/java/io/kamax/mxisd/matrix/IdentityServerUtils.java index 2e399dd..8bbc03f 100644 --- a/src/main/java/io/kamax/mxisd/matrix/IdentityServerUtils.java +++ b/src/main/java/io/kamax/mxisd/matrix/IdentityServerUtils.java @@ -79,7 +79,7 @@ public class IdentityServerUtils { JsonElement el = parser.parse(IOUtils.toString(res.getEntity().getContent(), StandardCharsets.UTF_8)); if (!el.isJsonObject()) { - log.debug("IS {} did not send back an empty JSON object as per spec, not a valid IS"); + log.debug("IS {} did not send back an empty JSON object as per spec, not a valid IS", remote); return false; } @@ -90,7 +90,7 @@ public class IdentityServerUtils { } } - public static String getSrvRecordName(String domain) { + private static String getSrvRecordName(String domain) { return "_matrix-identity._tcp." + domain; }