Minor changes
[RRRRHHHH_Code] / ruralHouses / src / businessLogic / AccountManager.java
index 626038f..705ef27 100644 (file)
@@ -44,12 +44,11 @@ public class AccountManager extends UnicastRemoteObject implements AccountInterf
        }
        
        public boolean removeAccount(int index)throws RemoteException {
-               OwnerManager own = new OwnerManager();
+               AdminManager adm = new AdminManager();
                try {
-                       if(this.dbMngr.removeAccount(own.getOwners().get(index)))
+                       if(this.dbMngr.removeAccount(adm.getAllOwners().get(index)))
                                return true;
                } catch (Exception e) {
-                       // TODO Auto-generated catch block
                        e.printStackTrace();
                }
                return false;