sjka/backend-update-center2 — pull request #1 by sjka (2014-01-16 10:45:20+00:00)
Title: Fixed offline capability

If no internet connection is available for whatever reason (e.g. proxy not configured) or is unwanted to be used, the parameter "-nowiki" will be used. However, the NoConfluencePluginList class inherits from ConfluencePluginList, which tries connecting to the Confluence server in its constructor. As this is the default constructor, it gets called also when creating subclasses. This leads to an "Unknown Host" exception or similar, which is totally unneccessary as the server actually should not be used anyway.

By extracting the logic from the default constructor into the "initialize()" method I have resolved this issue. The methods in ConfluencePluginList that rely on this initialization are guarded by "checkInitialized()".