Skip to content

Commit

Permalink
Suppressed IntelliJ warning about unused methods and added a short co…
Browse files Browse the repository at this point in the history
…mment explaining the reason for suppressing it
  • Loading branch information
aricasas committed Aug 15, 2023
1 parent f197d0c commit 9d6c989
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/entities/MonthObject.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* they can be created by MonthObjectFactory classes. It contains the setName and getName methods that all MonthObject
* classes should have.
*/
@SuppressWarnings("unused") // These methods are actually used, but just on the concrete class
public interface MonthObject {

/**
Expand Down
1 change: 1 addition & 0 deletions src/main/java/entities/MonthObjectFactoryInputData.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* that each version of addMonthObject and editMonthObject in CategoryFactory and ExpenseFactory can take in a different
* set of input data objects that are child classes of MonthObjectFactoryInputData.
*/
@SuppressWarnings("unused") // These methods are actually used, but just on the concrete class
public abstract class MonthObjectFactoryInputData {

/**
Expand Down

0 comments on commit 9d6c989

Please sign in to comment.