DNSUtil does not initialilze resolvers

Add missing dot ('.') to String.

Fixes SMACK-635.
This commit is contained in:
Florian Schmaus 2015-02-20 08:24:22 +01:00
parent f55f9f7828
commit 5cf99508ad
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ public class DNSUtil {
"dnsjava.DNSJavaResolver" };
for (String resolver :RESOLVERS) {
DNSResolver availableResolver = null;
String resolverFull = "org.jivesoftware.smack.util.dns" + resolver;
String resolverFull = "org.jivesoftware.smack.util.dns." + resolver;
try {
Class<?> resolverClass = Class.forName(resolverFull);
Method getInstanceMethod = resolverClass.getMethod("getInstance");