Skip to content

Commit

Permalink
Change logger to static
Browse files Browse the repository at this point in the history
  • Loading branch information
ZiliaAJY committed Oct 12, 2024
1 parent 80f0d71 commit 7663150
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* Validates commands for adding budgets.
*/
public class AddBudgetValidator {
private static final Logger logger = Logger.getLogger(AddBudgetValidator.class.getName());
private static Logger logger = Logger.getLogger(AddBudgetValidator.class.getName());

public static Command processCommand(String command) throws BudgetBuddyException {
assert command != null : "Command cannot be null";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* Validates commands for deducting budgets.
*/
public class DeductBudgetValidator {
private static final Logger logger = Logger.getLogger(DeductBudgetValidator.class.getName());
private static Logger logger = Logger.getLogger(DeductBudgetValidator.class.getName());

public static Command processCommand(String command) throws BudgetBuddyException {
assert command != null : "Command cannot be null";
Expand Down

0 comments on commit 7663150

Please sign in to comment.