exposing this code to outside

This commit is contained in:
Kohsuke Kawaguchi committed 2012-12-31 08:47:26 -08:00
1 parent d503cf827f
commit 2c97fe227a
2 files changed
+9 -2

No files matched your search

+4 -1
View File
@@ -857,7 +857,10 @@ public abstract class PluginManager extends AbstractModelObject implements OnMas
return HttpResponses.redirectViaContextPath("updateCenter");
}
static Map<String,VersionNumber> parseRequestedPlugins(InputStream configXml) throws IOException {
/**
* Parses configuration XML files and picks up references to XML files.
*/
public Map<String,VersionNumber> parseRequestedPlugins(InputStream configXml) throws IOException {
final Map<String,VersionNumber> requestedPlugins = new TreeMap<String,VersionNumber>();
try {
SAXParserFactory.newInstance().newSAXParser().parse(configXml, new DefaultHandler() {