mirror of
https://github.com/igniterealtime/Spark.git
synced 2025-12-01 12:27:58 +00:00
Update plugin manager
git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@5688 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
@ -22,6 +22,9 @@ import org.jivesoftware.spark.plugin.PublicPlugin;
|
||||
import org.jivesoftware.spark.util.URLFileSystem;
|
||||
import org.jivesoftware.spark.util.log.Log;
|
||||
|
||||
import javax.swing.JOptionPane;
|
||||
import javax.swing.SwingUtilities;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.FileOutputStream;
|
||||
import java.io.FilenameFilter;
|
||||
@ -41,8 +44,6 @@ import java.util.jar.JarEntry;
|
||||
import java.util.jar.JarFile;
|
||||
import java.util.zip.ZipFile;
|
||||
|
||||
import javax.swing.SwingUtilities;
|
||||
|
||||
/**
|
||||
* This manager is responsible for the loading of all Plugins and Workspaces within Spark environment.
|
||||
*
|
||||
@ -455,7 +456,6 @@ public class PluginManager implements MainWindowListener {
|
||||
if (pluginXML.lastModified() < file.lastModified()) {
|
||||
uninstall(directory);
|
||||
unzipPlugin(file, directory);
|
||||
return;
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user