[Webfunds-commits] java/webfunds/client/sox AccountStore.java StoreAccountStore.java StoreReceiptStore.java
Ian Grigg
iang@cypherpunks.ai
Tue, 6 Mar 2001 20:29:44 -0400 (AST)
iang 01/03/06 20:29:44
Modified: webfunds/client/sox AccountStore.java StoreAccountStore.java
StoreReceiptStore.java
Log:
got rid of some AccountInfo old deprecated references
Revision Changes Path
1.9 +0 -6 java/webfunds/client/sox/AccountStore.java
Index: AccountStore.java
===================================================================
RCS file: /home/webfunds/cvsroot/java/webfunds/client/sox/AccountStore.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- AccountStore.java 2000/06/05 03:48:16 1.8
+++ AccountStore.java 2001/03/07 00:29:43 1.9
@@ -3,7 +3,6 @@
import webfunds.sox.Account;
import webfunds.sox.AccountId;
-import webfunds.client.AccountInfo;
import webfunds.store.StoreException;
public interface AccountStore
@@ -30,11 +29,6 @@
/**
* @except StoreException if the account data is duff
*/
- // this is bad - mixes client/AccountInfo with sox/Account
- // DEPRECATED
- // public Account getAccount(AccountInfo info)
- // throws StoreException;
-
Account getAccount(AccountId acct)
throws StoreException;
1.23 +1 -12 java/webfunds/client/sox/StoreAccountStore.java
Index: StoreAccountStore.java
===================================================================
RCS file: /home/webfunds/cvsroot/java/webfunds/client/sox/StoreAccountStore.java,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- StoreAccountStore.java 2001/02/27 01:28:23 1.22
+++ StoreAccountStore.java 2001/03/07 00:29:43 1.23
@@ -1,5 +1,5 @@
/*
- * $Id: StoreAccountStore.java,v 1.22 2001/02/27 01:28:23 iang Exp $
+ * $Id: StoreAccountStore.java,v 1.23 2001/03/07 00:29:43 iang Exp $
*
* Copyright (c) Systemics Ltd 1995-1999 on behalf of
* the WebFunds Development Team. All Rights Reserved.
@@ -50,8 +50,6 @@
}
- // this looks like it is really getAccountInfos() ?
- //
public Account[] getAllAccounts()
// throws StoreException
{
@@ -158,15 +156,6 @@
ac.setFinder(finder);
return ac;
}
-
-// public Account getAccount(AccountInfo info)
-// throws StoreException
-// {
-// logmsg("DEPRECATED get AccountInfo " + info);
-// AccountId acct = new AccountId();
-// acct.setByteArray(info.getByteArray());
-// return getAccount(acct);
-// }
public boolean isChanged()
{
1.32 +1 -5 java/webfunds/client/sox/StoreReceiptStore.java
Index: StoreReceiptStore.java
===================================================================
RCS file: /home/webfunds/cvsroot/java/webfunds/client/sox/StoreReceiptStore.java,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- StoreReceiptStore.java 2001/02/27 01:28:23 1.31
+++ StoreReceiptStore.java 2001/03/07 00:29:43 1.32
@@ -1,5 +1,5 @@
/*
- * $Id: StoreReceiptStore.java,v 1.31 2001/02/27 01:28:23 iang Exp $
+ * $Id: StoreReceiptStore.java,v 1.32 2001/03/07 00:29:43 iang Exp $
*
* Copyright (c) Systemics Ltd 1999 on behalf of
* the WebFunds Development Team. All Rights Reserved.
@@ -662,8 +662,6 @@
{
Store pen = pends[j];
String biro = pen.getName();
- // AccountInfo bic = new AccountInfo(Hex.hex2data(biro),
- // null, null);
AccountId bic = new AccountId();
bic.setByteArray(Hex.hex2data(biro));
@@ -716,8 +714,6 @@
}
bug.print(" converting = " + name + "...");
- // AccountInfo info = new AccountInfo(Hex.hex2data(name),
- // null, null);
AccountId acct = new AccountId();
acct.setByteArray(Hex.hex2data(name));