1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2025-09-10 17:49:38 +02:00

Make ProviderManager static

also remove initialize() from ProviderFileLoader, by simply putting the
code into the constructor.
This commit is contained in:
Florian Schmaus 2014-05-11 09:27:41 +02:00
parent 0111be1a04
commit 90ea9ba2fc
12 changed files with 46 additions and 96 deletions

View file

@ -41,7 +41,7 @@ public class CarbonTest {
@BeforeClass
public static void setup() {
ProviderManager.getInstance().addExtensionProvider("forwarded", "urn:xmpp:forward:0", new ForwardedProvider());
ProviderManager.addExtensionProvider("forwarded", "urn:xmpp:forward:0", new ForwardedProvider());
}
@Test