incubator-ftpserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n..@apache.org
Subject svn commit: r488024 - /incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/
Date Sun, 17 Dec 2006 18:53:38 GMT
Author: ngn
Date: Sun Dec 17 10:53:37 2006
New Revision: 488024

URL: http://svn.apache.org/viewvc?view=rev&rev=488024
Log:
Renamed FtpConfig and ServerFtpConfig interfaces to FtpletContext and FtpServerContext to
better reflect the responibility on the interfaces.
More cleanup (rename variables and such) to finish this is upcoming.

Modified:
    incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/ConnectionPanel.java
    incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/DirectoryPanel.java
    incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/FilePanel.java
    incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/FtpConnectionTableModel.java
    incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/IPRestrictorPanel.java
    incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/LoggerPanel.java
    incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/MessagePanel.java
    incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/PluginPanel.java
    incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/PluginPanelContainer.java
    incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/RootPanel.java
    incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/SpyPanel.java
    incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/SpyPanelContainer.java
    incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/StatisticsPanel.java
    incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/TreePluginPanelContainer.java
    incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/UserManagerPanel.java

Modified: incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/ConnectionPanel.java
URL: http://svn.apache.org/viewvc/incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/ConnectionPanel.java?view=diff&rev=488024&r1=488023&r2=488024
==============================================================================
--- incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/ConnectionPanel.java
(original)
+++ incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/ConnectionPanel.java
Sun Dec 17 10:53:37 2006
@@ -31,7 +31,7 @@
 import javax.swing.JTable;
 
 import org.apache.ftpserver.interfaces.Connection;
-import org.apache.ftpserver.interfaces.ServerFtpConfig;
+import org.apache.ftpserver.interfaces.FtpServerContext;
 
 /**
  * This panel shows all the connections.
@@ -43,7 +43,7 @@
 
     private static final long serialVersionUID = 3774741162954995177L;
     
-    private ServerFtpConfig fconfig;
+    private FtpServerContext fconfig;
     private JTable conTable;   
     private FtpConnectionTableModel model;
     
@@ -158,7 +158,7 @@
     /** 
      * Refresh the ftp configuration
      */
-    public void refresh(ServerFtpConfig ftpConfig) {
+    public void refresh(FtpServerContext ftpConfig) {
         fconfig = ftpConfig;
         model.refresh(ftpConfig);
     }

Modified: incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/DirectoryPanel.java
URL: http://svn.apache.org/viewvc/incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/DirectoryPanel.java?view=diff&rev=488024&r1=488023&r2=488024
==============================================================================
--- incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/DirectoryPanel.java
(original)
+++ incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/DirectoryPanel.java
Sun Dec 17 10:53:37 2006
@@ -34,7 +34,7 @@
 import org.apache.ftpserver.ftplet.FileObject;
 import org.apache.ftpserver.ftplet.User;
 import org.apache.ftpserver.interfaces.Connection;
-import org.apache.ftpserver.interfaces.ServerFtpConfig;
+import org.apache.ftpserver.interfaces.FtpServerContext;
 
 /**
  * This panel monitor all user directory create and remove activities.
@@ -51,7 +51,7 @@
             "Removed"
     };
     
-    private ServerFtpConfig        fconfig;
+    private FtpServerContext        fconfig;
     private FtpDirectoryTableModel[] models;
     
     
@@ -132,7 +132,7 @@
     /**
      * Refresh the panel - set the ftp config.
      */
-    public void refresh(ServerFtpConfig config) {
+    public void refresh(FtpServerContext config) {
         fconfig = config;
         models[0].clear();
         models[1].clear();

Modified: incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/FilePanel.java
URL: http://svn.apache.org/viewvc/incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/FilePanel.java?view=diff&rev=488024&r1=488023&r2=488024
==============================================================================
--- incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/FilePanel.java (original)
+++ incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/FilePanel.java Sun
Dec 17 10:53:37 2006
@@ -34,7 +34,7 @@
 import org.apache.ftpserver.ftplet.FileObject;
 import org.apache.ftpserver.ftplet.User;
 import org.apache.ftpserver.interfaces.Connection;
-import org.apache.ftpserver.interfaces.ServerFtpConfig;
+import org.apache.ftpserver.interfaces.FtpServerContext;
 
 /**
  * This panel displays all user file upload, download and remove activities.
@@ -52,7 +52,7 @@
             "Deleted"
     };
     
-    private ServerFtpConfig        fconfig;
+    private FtpServerContext        fconfig;
     private FtpFileTableModel[] models;
     
     
@@ -141,7 +141,7 @@
     /**
      * Refresh the panel - set the ftp config.
      */
-    public void refresh(ServerFtpConfig config) {
+    public void refresh(FtpServerContext config) {
         fconfig = config;
     }
     

Modified: incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/FtpConnectionTableModel.java
URL: http://svn.apache.org/viewvc/incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/FtpConnectionTableModel.java?view=diff&rev=488024&r1=488023&r2=488024
==============================================================================
--- incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/FtpConnectionTableModel.java
(original)
+++ incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/FtpConnectionTableModel.java
Sun Dec 17 10:53:37 2006
@@ -35,7 +35,7 @@
 import org.apache.ftpserver.interfaces.Connection;
 import org.apache.ftpserver.interfaces.ConnectionManager;
 import org.apache.ftpserver.interfaces.ConnectionManagerObserver;
-import org.apache.ftpserver.interfaces.ServerFtpConfig;
+import org.apache.ftpserver.interfaces.FtpServerContext;
 import org.apache.ftpserver.util.DateUtils;
 
 
@@ -53,13 +53,13 @@
                                                "Last Access Time",    
                                                "IP"};
     private List connections = new Vector();
-    private ServerFtpConfig fonfig;
+    private FtpServerContext fonfig;
     private EventListenerList listeners = new EventListenerList();
     
     /**
      * Reload the model.
      */
-    public void refresh(ServerFtpConfig cfg) {
+    public void refresh(FtpServerContext cfg) {
         fonfig = cfg;
         if (fonfig != null) {
             ConnectionManager conManager = fonfig.getConnectionManager();

Modified: incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/IPRestrictorPanel.java
URL: http://svn.apache.org/viewvc/incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/IPRestrictorPanel.java?view=diff&rev=488024&r1=488023&r2=488024
==============================================================================
--- incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/IPRestrictorPanel.java
(original)
+++ incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/IPRestrictorPanel.java
Sun Dec 17 10:53:37 2006
@@ -29,7 +29,7 @@
 import javax.swing.JPanel;
 
 import org.apache.ftpserver.interfaces.IpRestrictor;
-import org.apache.ftpserver.interfaces.ServerFtpConfig;
+import org.apache.ftpserver.interfaces.FtpServerContext;
 
 /**
  * IP restrictor panel.
@@ -41,7 +41,7 @@
 
     private static final long serialVersionUID = -1871174667851171193L;
 
-    private ServerFtpConfig fconfig;
+    private FtpServerContext fconfig;
     private IPRestrictorTable table;
 
     /**
@@ -116,7 +116,7 @@
     /**
      * Refresh - set the ftp config.
      */
-    public void refresh(ServerFtpConfig ftpConfig) {
+    public void refresh(FtpServerContext ftpConfig) {
         fconfig = ftpConfig;
         reloadData();
     }

Modified: incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/LoggerPanel.java
URL: http://svn.apache.org/viewvc/incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/LoggerPanel.java?view=diff&rev=488024&r1=488023&r2=488024
==============================================================================
--- incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/LoggerPanel.java
(original)
+++ incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/LoggerPanel.java
Sun Dec 17 10:53:37 2006
@@ -42,7 +42,7 @@
 
 import org.apache.commons.logging.Log;
 import org.apache.ftpserver.FtpLogFactory;
-import org.apache.ftpserver.interfaces.ServerFtpConfig;
+import org.apache.ftpserver.interfaces.FtpServerContext;
 import org.apache.ftpserver.util.IoUtils;
 
 /**
@@ -80,7 +80,7 @@
     
     private int logLevel = LEVEL_INFO;
 
-    private ServerFtpConfig ftpConfig;
+    private FtpServerContext ftpConfig;
     
     private JComboBox logCombo;
     private JTextPane logTxt;
@@ -205,7 +205,7 @@
     /** 
      * Refresh the ftp configuration
      */
-    public void refresh(ServerFtpConfig ftpConfig) {
+    public void refresh(FtpServerContext ftpConfig) {
         
         // remove old log messages
         try {

Modified: incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/MessagePanel.java
URL: http://svn.apache.org/viewvc/incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/MessagePanel.java?view=diff&rev=488024&r1=488023&r2=488024
==============================================================================
--- incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/MessagePanel.java
(original)
+++ incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/MessagePanel.java
Sun Dec 17 10:53:37 2006
@@ -43,7 +43,7 @@
 
 import org.apache.ftpserver.ftplet.FtpException;
 import org.apache.ftpserver.interfaces.MessageResource;
-import org.apache.ftpserver.interfaces.ServerFtpConfig;
+import org.apache.ftpserver.interfaces.FtpServerContext;
 
 /**
  * This is FTP server response panel. User can customize server responses.
@@ -55,7 +55,7 @@
 
     private static final long serialVersionUID = -68038181884794057L;
     
-    private ServerFtpConfig fconfig;
+    private FtpServerContext fconfig;
     private JComboBox comboBox;
     
     private JList list;
@@ -238,7 +238,7 @@
     /** 
      * Refresh the ftp configuration
      */
-    public void refresh(ServerFtpConfig ftpConfig) {
+    public void refresh(FtpServerContext ftpConfig) {
         fconfig = ftpConfig;
         comboBox.removeAllItems();
         list.removeAll();

Modified: incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/PluginPanel.java
URL: http://svn.apache.org/viewvc/incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/PluginPanel.java?view=diff&rev=488024&r1=488023&r2=488024
==============================================================================
--- incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/PluginPanel.java
(original)
+++ incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/PluginPanel.java
Sun Dec 17 10:53:37 2006
@@ -21,7 +21,7 @@
 
 import javax.swing.JPanel;
 
-import org.apache.ftpserver.interfaces.ServerFtpConfig;
+import org.apache.ftpserver.interfaces.FtpServerContext;
 
 /**
  * This is the base class of all the ftp panels.
@@ -50,7 +50,7 @@
     /**
      * Refresh the panel with the new ftp config
      */
-    public abstract void refresh(ServerFtpConfig ftpConfig);
+    public abstract void refresh(FtpServerContext ftpConfig);
     
     
     /**

Modified: incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/PluginPanelContainer.java
URL: http://svn.apache.org/viewvc/incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/PluginPanelContainer.java?view=diff&rev=488024&r1=488023&r2=488024
==============================================================================
--- incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/PluginPanelContainer.java
(original)
+++ incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/PluginPanelContainer.java
Sun Dec 17 10:53:37 2006
@@ -21,7 +21,7 @@
 
 import javax.swing.JComponent;
 
-import org.apache.ftpserver.interfaces.ServerFtpConfig;
+import org.apache.ftpserver.interfaces.FtpServerContext;
 
 /**
  * This is the plugin panel container.
@@ -70,10 +70,10 @@
     /**
      * Refresh with new ftp configuration object.
      */
-    void refresh(ServerFtpConfig config);
+    void refresh(FtpServerContext config);
     
     /**
      * Get current ftp config
      */
-    ServerFtpConfig getFtpConfig();
+    FtpServerContext getFtpConfig();
 }

Modified: incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/RootPanel.java
URL: http://svn.apache.org/viewvc/incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/RootPanel.java?view=diff&rev=488024&r1=488023&r2=488024
==============================================================================
--- incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/RootPanel.java (original)
+++ incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/RootPanel.java Sun
Dec 17 10:53:37 2006
@@ -51,7 +51,7 @@
 import org.apache.ftpserver.config.PropertiesConfiguration;
 import org.apache.ftpserver.config.XmlConfigurationHandler;
 import org.apache.ftpserver.ftplet.Configuration;
-import org.apache.ftpserver.interfaces.ServerFtpConfig;
+import org.apache.ftpserver.interfaces.FtpServerContext;
 import org.apache.ftpserver.util.IoUtils;
 
 /**
@@ -292,7 +292,7 @@
     /**
      * Refresh the panel with the new ftp config.
      */
-    public void refresh(ServerFtpConfig ftpCOnfig) {
+    public void refresh(FtpServerContext ftpCOnfig) {
     }
     
     
@@ -348,7 +348,7 @@
             }
             
             // create ftp configuration object
-            ServerFtpConfig fconfig = new FtpConfigImpl(config);
+            FtpServerContext fconfig = new FtpConfigImpl(config);
             
             // start server
             server = new FtpServer(fconfig);

Modified: incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/SpyPanel.java
URL: http://svn.apache.org/viewvc/incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/SpyPanel.java?view=diff&rev=488024&r1=488023&r2=488024
==============================================================================
--- incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/SpyPanel.java (original)
+++ incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/SpyPanel.java Sun
Dec 17 10:53:37 2006
@@ -41,7 +41,7 @@
 import org.apache.ftpserver.interfaces.Connection;
 import org.apache.ftpserver.interfaces.ConnectionManager;
 import org.apache.ftpserver.interfaces.ConnectionObserver;
-import org.apache.ftpserver.interfaces.ServerFtpConfig;
+import org.apache.ftpserver.interfaces.FtpServerContext;
 
 
 /**
@@ -58,7 +58,7 @@
     private JTabbedPane parent = null;
     private JComponent defaultTab = null;
     
-    private ServerFtpConfig fconfig   = null;
+    private FtpServerContext fconfig   = null;
     private Connection connection = null;
     
     private SimpleAttributeSet reqAttrs = null;
@@ -68,7 +68,7 @@
     /**
      * Instantiate this dialog box
      */
-    public SpyPanel(ServerFtpConfig config, 
+    public SpyPanel(FtpServerContext config, 
                     Connection con, 
                     JTabbedPane parent,
                     JComponent defaultTab) {

Modified: incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/SpyPanelContainer.java
URL: http://svn.apache.org/viewvc/incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/SpyPanelContainer.java?view=diff&rev=488024&r1=488023&r2=488024
==============================================================================
--- incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/SpyPanelContainer.java
(original)
+++ incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/SpyPanelContainer.java
Sun Dec 17 10:53:37 2006
@@ -31,7 +31,7 @@
 
 import org.apache.ftpserver.ftplet.User;
 import org.apache.ftpserver.interfaces.Connection;
-import org.apache.ftpserver.interfaces.ServerFtpConfig;
+import org.apache.ftpserver.interfaces.FtpServerContext;
 
 /**
  * This panel monitors user request/replies.
@@ -46,7 +46,7 @@
     private JTabbedPane tabbedPane;
     private JLabel defaultComp;
     
-    private ServerFtpConfig fconfig;
+    private FtpServerContext fconfig;
     
     
     /**
@@ -123,7 +123,7 @@
     /** 
      * Refresh the ftp configuration
      */
-    public void refresh(ServerFtpConfig ftpConfig) {
+    public void refresh(FtpServerContext ftpConfig) {
         fconfig = ftpConfig;
         int tabCount = tabbedPane.getTabCount();
         for(int i=tabCount; --i>=0; ) {

Modified: incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/StatisticsPanel.java
URL: http://svn.apache.org/viewvc/incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/StatisticsPanel.java?view=diff&rev=488024&r1=488023&r2=488024
==============================================================================
--- incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/StatisticsPanel.java
(original)
+++ incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/StatisticsPanel.java
Sun Dec 17 10:53:37 2006
@@ -38,7 +38,7 @@
 import org.apache.ftpserver.ftplet.FileObject;
 import org.apache.ftpserver.interfaces.Connection;
 import org.apache.ftpserver.interfaces.FileObserver;
-import org.apache.ftpserver.interfaces.ServerFtpConfig;
+import org.apache.ftpserver.interfaces.FtpServerContext;
 import org.apache.ftpserver.interfaces.ServerFtpStatistics;
 import org.apache.ftpserver.interfaces.StatisticsObserver;
 import org.apache.ftpserver.util.DateUtils;
@@ -93,7 +93,7 @@
             "Total connections"
     };
 
-    private ServerFtpConfig ftpConfig;
+    private FtpServerContext ftpConfig;
     private ServerFtpStatistics statistics;
     private String data[] = new String[STAT_NAMES.length];
     private EventListenerList listeners = new EventListenerList();
@@ -239,7 +239,7 @@
     /** 
      * Refresh the ftp configuration
      */
-    public void refresh(ServerFtpConfig ftpConfig) {
+    public void refresh(FtpServerContext ftpConfig) {
         this.ftpConfig = ftpConfig;
         if (this.ftpConfig != null) {
             statistics = (ServerFtpStatistics)this.ftpConfig.getFtpStatistics();
@@ -267,7 +267,7 @@
         }
     }
     
-    public void resetStats(ServerFtpConfig ftpConfig) {
+    public void resetStats(FtpServerContext ftpConfig) {
         this.ftpConfig = ftpConfig;
         if (this.ftpConfig != null) {
             statistics = (ServerFtpStatistics)this.ftpConfig.getFtpStatistics();

Modified: incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/TreePluginPanelContainer.java
URL: http://svn.apache.org/viewvc/incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/TreePluginPanelContainer.java?view=diff&rev=488024&r1=488023&r2=488024
==============================================================================
--- incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/TreePluginPanelContainer.java
(original)
+++ incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/TreePluginPanelContainer.java
Sun Dec 17 10:53:37 2006
@@ -35,7 +35,7 @@
 import javax.swing.tree.TreeModel;
 import javax.swing.tree.TreePath;
 
-import org.apache.ftpserver.interfaces.ServerFtpConfig;
+import org.apache.ftpserver.interfaces.FtpServerContext;
 
 /**
  * Tree plugin panel container.
@@ -53,7 +53,7 @@
     private ArrayList pluginPanels = new ArrayList();
     private Vector treeListeners = new Vector();
     
-    private ServerFtpConfig fconfig;
+    private FtpServerContext fconfig;
     
     private JPanel rightPane;
     private JTree tree;
@@ -193,7 +193,7 @@
     /**
      * Get ftp config.
      */
-    public void refresh(ServerFtpConfig ftpConfig) {
+    public void refresh(FtpServerContext ftpConfig) {
         fconfig = ftpConfig;
         for(int i=0; i<pluginPanels.size(); ++i) {
             PluginPanel ppanel = (PluginPanel)pluginPanels.get(i);
@@ -204,7 +204,7 @@
     /**
      * Get ftp config.
      */
-    public ServerFtpConfig getFtpConfig() {
+    public FtpServerContext getFtpConfig() {
         return fconfig;
     }
 }

Modified: incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/UserManagerPanel.java
URL: http://svn.apache.org/viewvc/incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/UserManagerPanel.java?view=diff&rev=488024&r1=488023&r2=488024
==============================================================================
--- incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/UserManagerPanel.java
(original)
+++ incubator/ftpserver/trunk/admin-gui/src/java/org/apache/ftpserver/gui/UserManagerPanel.java
Sun Dec 17 10:53:37 2006
@@ -44,7 +44,7 @@
 import org.apache.ftpserver.ftplet.FtpException;
 import org.apache.ftpserver.ftplet.User;
 import org.apache.ftpserver.ftplet.UserManager;
-import org.apache.ftpserver.interfaces.ServerFtpConfig;
+import org.apache.ftpserver.interfaces.FtpServerContext;
 import org.apache.ftpserver.usermanager.BaseUser;
 
 /**
@@ -96,7 +96,7 @@
       new Integer(8)
     };
     
-    private ServerFtpConfig fconfig;                  
+    private FtpServerContext fconfig;                  
     
     private JComboBox userLst;
     private JTextField nameTxt;
@@ -483,7 +483,7 @@
     /**
      * Refresh the panel - set the ftp config.
      */
-    public void refresh(ServerFtpConfig config) {
+    public void refresh(FtpServerContext config) {
         fconfig = config;
         userLst.removeAllItems();
         if(fconfig == null) {



Mime
View raw message