1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-22 12:02:05 +01:00

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

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");