mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-26 05:52:06 +01:00
DNSUtil does not initialilze resolvers
Add missing dot ('.') to String. Fixes SMACK-635.
This commit is contained in:
parent
f55f9f7828
commit
5cf99508ad
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ public class DNSUtil {
|
||||||
"dnsjava.DNSJavaResolver" };
|
"dnsjava.DNSJavaResolver" };
|
||||||
for (String resolver :RESOLVERS) {
|
for (String resolver :RESOLVERS) {
|
||||||
DNSResolver availableResolver = null;
|
DNSResolver availableResolver = null;
|
||||||
String resolverFull = "org.jivesoftware.smack.util.dns" + resolver;
|
String resolverFull = "org.jivesoftware.smack.util.dns." + resolver;
|
||||||
try {
|
try {
|
||||||
Class<?> resolverClass = Class.forName(resolverFull);
|
Class<?> resolverClass = Class.forName(resolverFull);
|
||||||
Method getInstanceMethod = resolverClass.getMethod("getInstance");
|
Method getInstanceMethod = resolverClass.getMethod("getInstance");
|
||||||
|
|
Loading…
Reference in a new issue