[Webfunds-commits] java/webfunds/client/contracts/wizard KeyContract.java KeyServer.java KeyTop.java

Edwin Woudt edwin@cypherpunks.ai
Mon, 28 Aug 2000 11:17:08 -0400 (AST)


edwin       00/08/28 11:17:08

  Modified:    webfunds/client/contracts/wizard KeyContract.java
                        KeyServer.java KeyTop.java
  Log:
  Fix annoying 'please enter a filename' message when clicking previous.
  (oops!)

Revision  Changes    Path
1.13      +3 -3      java/webfunds/client/contracts/wizard/KeyContract.java

Index: KeyContract.java
===================================================================
RCS file: /home/webfunds/cvsroot/java/webfunds/client/contracts/wizard/KeyContract.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- KeyContract.java	2000/08/28 15:14:03	1.12
+++ KeyContract.java	2000/08/28 15:17:07	1.13
@@ -1,5 +1,5 @@
 /*
- * $Id: KeyContract.java,v 1.12 2000/08/28 15:14:03 edwin Exp $
+ * $Id: KeyContract.java,v 1.13 2000/08/28 15:17:07 edwin Exp $
  *
  * Copyright (c) Systemics Inc 2000 on behalf of
  * the WebFunds Development Team.  All Rights Reserved.
@@ -26,7 +26,7 @@
  * Panel that asks for the contract key
  *
  * @author Edwin Woudt <edwin@webfunds.org>
- * @version $Revision: 1.12 $
+ * @version $Revision: 1.13 $
  */
 
 public class KeyContract extends SignContractWizardPanel 
@@ -292,7 +292,7 @@
     }
     
     public boolean leave() {
-        if (txtFile.getText() != oldFile) {
+        if (! txtFile.getText().equals(oldFile)) {
             return next();   // load the file
         } else {
             return true;



1.11      +3 -3      java/webfunds/client/contracts/wizard/KeyServer.java

Index: KeyServer.java
===================================================================
RCS file: /home/webfunds/cvsroot/java/webfunds/client/contracts/wizard/KeyServer.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- KeyServer.java	2000/08/28 13:37:13	1.10
+++ KeyServer.java	2000/08/28 15:17:07	1.11
@@ -1,5 +1,5 @@
 /*
- * $Id: KeyServer.java,v 1.10 2000/08/28 13:37:13 edwin Exp $
+ * $Id: KeyServer.java,v 1.11 2000/08/28 15:17:07 edwin Exp $
  *
  * Copyright (c) Systemics Inc 2000 on behalf of
  * the WebFunds Development Team.  All Rights Reserved.
@@ -20,7 +20,7 @@
  * Panel that asks for the [operator] certification key
  *
  * @author Edwin Woudt <edwin@webfunds.org>
- * @version $Revision: 1.10 $
+ * @version $Revision: 1.11 $
  */
 
 public class KeyServer extends SignContractWizardPanel 
@@ -144,7 +144,7 @@
     }
     
     public boolean leave() {
-        if (txtFile.getText() != oldFile) {
+        if (! txtFile.getText().equals(oldFile)) {
             return next();   // load the file
         } else {
             return true;



1.11      +3 -3      java/webfunds/client/contracts/wizard/KeyTop.java

Index: KeyTop.java
===================================================================
RCS file: /home/webfunds/cvsroot/java/webfunds/client/contracts/wizard/KeyTop.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- KeyTop.java	2000/08/28 13:37:13	1.10
+++ KeyTop.java	2000/08/28 15:17:07	1.11
@@ -1,5 +1,5 @@
 /*
- * $Id: KeyTop.java,v 1.10 2000/08/28 13:37:13 edwin Exp $
+ * $Id: KeyTop.java,v 1.11 2000/08/28 15:17:07 edwin Exp $
  *
  * Copyright (c) Systemics Inc 2000 on behalf of
  * the WebFunds Development Team.  All Rights Reserved.
@@ -20,7 +20,7 @@
  * Panel that asks for the toplevel certification key
  *
  * @author Edwin Woudt <edwin@webfunds.org>
- * @version $Revision: 1.10 $
+ * @version $Revision: 1.11 $
  */
 
 public class KeyTop extends SignContractWizardPanel 
@@ -217,7 +217,7 @@
     }
     
     public boolean leave() {
-        if (txtFile.getText() != oldFile) {
+        if (! txtFile.getText().equals(oldFile)) {
             return next();   // load the file
         } else {
             return true;