avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ran...@apache.org
Subject cvs commit: jakarta-avalon-apps/ftpserver/src/java/org/apache/avalon/ftpserver/gui ConfigTableModel.java FtpRootPanel.java
Date Fri, 08 Mar 2002 06:27:30 GMT
rana_b      02/03/07 22:27:30

  Modified:    ftpserver/src/java/org/apache/avalon/ftpserver/gui
                        ConfigTableModel.java FtpRootPanel.java
  Log:
  get proper server address
  
  Revision  Changes    Path
  1.7       +1 -1      jakarta-avalon-apps/ftpserver/src/java/org/apache/avalon/ftpserver/gui/ConfigTableModel.java
  
  Index: ConfigTableModel.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-apps/ftpserver/src/java/org/apache/avalon/ftpserver/gui/ConfigTableModel.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- ConfigTableModel.java	6 Mar 2002 13:53:20 -0000	1.6
  +++ ConfigTableModel.java	8 Mar 2002 06:27:30 -0000	1.7
  @@ -51,7 +51,7 @@
           
           if(mConfig != null) {
               mTableKeys.add("Server Address");
  -            mTableVals.add(String.valueOf(mConfig.getServerAddress().getHostAddress()));
  +            mTableVals.add(mConfig.getAddressString());
               
               mTableKeys.add("Server Port");
               mTableVals.add(String.valueOf(mConfig.getServerPort()));
  
  
  
  1.8       +2 -2      jakarta-avalon-apps/ftpserver/src/java/org/apache/avalon/ftpserver/gui/FtpRootPanel.java
  
  Index: FtpRootPanel.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-apps/ftpserver/src/java/org/apache/avalon/ftpserver/gui/FtpRootPanel.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- FtpRootPanel.java	6 Mar 2002 13:53:20 -0000	1.7
  +++ FtpRootPanel.java	8 Mar 2002 06:27:30 -0000	1.8
  @@ -70,7 +70,7 @@
           mjHostTxt = new JTextField();
           mjHostTxt.setColumns(15);
           mjHostTxt.setEditable(false);
  -        mjHostTxt.setText(mCommonHandler.getConfig().getServerAddress().getHostAddress());
  +        mjHostTxt.setText(mCommonHandler.getConfig().getAddressString());
           gc = new GridBagConstraints();
           gc.gridx = 1;
           gc.gridy = 0;
  @@ -182,4 +182,4 @@
           mAboutPanel.close();
       } 
       
  -}
  \ No newline at end of file
  +}
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message