From e7a2cad401cceef725f5bda642f0a04aea2872d6 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Mon, 3 Feb 2014 19:59:26 +0100 Subject: [PATCH] Add hidden default constructor to ConnectionConfiguration aSmack subclasses ConnectionConfiguration and needs a constructor that does no network I/O. --- source/org/jivesoftware/smack/ConnectionConfiguration.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/source/org/jivesoftware/smack/ConnectionConfiguration.java b/source/org/jivesoftware/smack/ConnectionConfiguration.java index 9eb7bb903..25e4efec7 100644 --- a/source/org/jivesoftware/smack/ConnectionConfiguration.java +++ b/source/org/jivesoftware/smack/ConnectionConfiguration.java @@ -94,6 +94,13 @@ public class ConnectionConfiguration implements Cloneable { // Holds the proxy information (such as proxyhost, proxyport, username, password etc) protected ProxyInfo proxy; + /** + * Constructor used for subclassing ConnectionConfiguration + */ + ConnectionConfiguration() { + /* Does nothing */ + } + /** * Creates a new ConnectionConfiguration for the specified service name. * A DNS SRV lookup will be performed to find out the actual host address