directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r373690 - in /directory/trunks/apacheds/protocols/ldap/src/main/java/org/apache/ldap/server/protocol/gui: SessionsFrame.java ShutdownDialog.java ShutdownParamDialog.java
Date Tue, 31 Jan 2006 03:48:12 GMT
Author: akarasulu
Date: Mon Jan 30 19:48:09 2006
New Revision: 373690

URL: http://svn.apache.org/viewcvs?rev=373690&view=rev
Log:
refactored file name

Added:
    directory/trunks/apacheds/protocols/ldap/src/main/java/org/apache/ldap/server/protocol/gui/ShutdownDialog.java
      - copied, changed from r373677, directory/trunks/apacheds/protocols/ldap/src/main/java/org/apache/ldap/server/protocol/gui/ShutdownParamDialog.java
Removed:
    directory/trunks/apacheds/protocols/ldap/src/main/java/org/apache/ldap/server/protocol/gui/ShutdownParamDialog.java
Modified:
    directory/trunks/apacheds/protocols/ldap/src/main/java/org/apache/ldap/server/protocol/gui/SessionsFrame.java

Modified: directory/trunks/apacheds/protocols/ldap/src/main/java/org/apache/ldap/server/protocol/gui/SessionsFrame.java
URL: http://svn.apache.org/viewcvs/directory/trunks/apacheds/protocols/ldap/src/main/java/org/apache/ldap/server/protocol/gui/SessionsFrame.java?rev=373690&r1=373689&r2=373690&view=diff
==============================================================================
--- directory/trunks/apacheds/protocols/ldap/src/main/java/org/apache/ldap/server/protocol/gui/SessionsFrame.java
(original)
+++ directory/trunks/apacheds/protocols/ldap/src/main/java/org/apache/ldap/server/protocol/gui/SessionsFrame.java
Mon Jan 30 19:48:09 2006
@@ -792,7 +792,7 @@
                     }
                     else
                     {
-                        ShutdownParamDialog dialog = new ShutdownParamDialog();
+                        ShutdownDialog dialog = new ShutdownDialog();
                         setCenteredPosition( SessionsFrame.this, dialog );
                         dialog.setModal( true );
                         dialog.setVisible( true );

Copied: directory/trunks/apacheds/protocols/ldap/src/main/java/org/apache/ldap/server/protocol/gui/ShutdownDialog.java
(from r373677, directory/trunks/apacheds/protocols/ldap/src/main/java/org/apache/ldap/server/protocol/gui/ShutdownParamDialog.java)
URL: http://svn.apache.org/viewcvs/directory/trunks/apacheds/protocols/ldap/src/main/java/org/apache/ldap/server/protocol/gui/ShutdownDialog.java?p2=directory/trunks/apacheds/protocols/ldap/src/main/java/org/apache/ldap/server/protocol/gui/ShutdownDialog.java&p1=directory/trunks/apacheds/protocols/ldap/src/main/java/org/apache/ldap/server/protocol/gui/ShutdownParamDialog.java&r1=373677&r2=373690&rev=373690&view=diff
==============================================================================
--- directory/trunks/apacheds/protocols/ldap/src/main/java/org/apache/ldap/server/protocol/gui/ShutdownParamDialog.java
(original)
+++ directory/trunks/apacheds/protocols/ldap/src/main/java/org/apache/ldap/server/protocol/gui/ShutdownDialog.java
Mon Jan 30 19:48:09 2006
@@ -12,7 +12,7 @@
 import javax.swing.JLabel;
 
 
-public class ShutdownParamDialog extends JDialog
+public class ShutdownDialog extends JDialog
 {
     private static final long serialVersionUID = -6681747075037789868L;
 
@@ -33,7 +33,7 @@
     /**
      * This is the default constructor
      */
-    public ShutdownParamDialog()
+    public ShutdownDialog()
     {
         super();
         initialize();
@@ -152,7 +152,7 @@
                         timeOffline = Integer.parseInt( timeOfflineField.getText() );
                         if ( timeOffline > 720 || timeOffline < 0 )
                         {
-                            JOptionPane.showMessageDialog( ShutdownParamDialog.this,
+                            JOptionPane.showMessageDialog( ShutdownDialog.this,
                                 "Time Offline is out of range: 0 ... 720", "Range Problem",
JOptionPane.ERROR_MESSAGE );
                             timeOfflineField.setText( "" );
                             return;
@@ -160,7 +160,7 @@
                     }
                     catch( NumberFormatException nfe )
                     {
-                        JOptionPane.showMessageDialog( ShutdownParamDialog.this,
+                        JOptionPane.showMessageDialog( ShutdownDialog.this,
                             "The value for Time Offline is not a number", "Not a Number",
JOptionPane.ERROR_MESSAGE );
                         timeOfflineField.setText( "" );
                         return;
@@ -171,7 +171,7 @@
                         delay = Integer.parseInt( delayField.getText() );
                         if ( delay > 86400 || delay < 0 )
                         {
-                            JOptionPane.showMessageDialog( ShutdownParamDialog.this,
+                            JOptionPane.showMessageDialog( ShutdownDialog.this,
                                 "Delay is out of range: 0 ... 86400", "Range Problem", JOptionPane.ERROR_MESSAGE
);
                             delayField.setText( "" );
                             return;
@@ -179,7 +179,7 @@
                     }
                     catch( NumberFormatException nfe )
                     {
-                        JOptionPane.showMessageDialog( ShutdownParamDialog.this,
+                        JOptionPane.showMessageDialog( ShutdownDialog.this,
                             "Delay is not a number", "Not a Number", JOptionPane.ERROR_MESSAGE
);
                         delayField.setText( "" );
                         return;



Mime
View raw message