Skip to content

Commit

Permalink
Feat: Updated Transaction class to have proper attributes and methods
Browse files Browse the repository at this point in the history
  • Loading branch information
tommyah committed Mar 3, 2026
1 parent 3a3dc62 commit e422eee
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public abstract class Transaction {

private final TransactionCalculator calculator;

private boolean commited = false;
protected boolean commited = false;

/**
* Creates a new {@code Transaction} with a share, week and calculator.
Expand Down Expand Up @@ -62,7 +62,5 @@ public boolean isCommited() {
}

/** Commits the transaction. */
public void commit() {
commited = true;
}
public abstract void commit(Player player);
}

0 comments on commit e422eee

Please sign in to comment.