Skip to content

Commit

Permalink
Remove unnecessary super() calls in *Manager classes (AY2122S2-CS2103…
Browse files Browse the repository at this point in the history
…T-T12-4#118)

Let's remove the unnecessary super() calls from the constructors
of classes StorageManager, ModelManager, UiManager
  • Loading branch information
JinHao-L authored Dec 27, 2021
1 parent ba53b8c commit c09fcae
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/main/java/seedu/address/model/ModelManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ public class ModelManager implements Model {
* Initializes a ModelManager with the given addressBook and userPrefs.
*/
public ModelManager(ReadOnlyAddressBook addressBook, ReadOnlyUserPrefs userPrefs) {
super();
requireAllNonNull(addressBook, userPrefs);

logger.fine("Initializing with address book: " + addressBook + " and user prefs " + userPrefs);
Expand Down
1 change: 0 additions & 1 deletion src/main/java/seedu/address/storage/StorageManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ public class StorageManager implements Storage {
* Creates a {@code StorageManager} with the given {@code AddressBookStorage} and {@code UserPrefStorage}.
*/
public StorageManager(AddressBookStorage addressBookStorage, UserPrefsStorage userPrefsStorage) {
super();
this.addressBookStorage = addressBookStorage;
this.userPrefsStorage = userPrefsStorage;
}
Expand Down
1 change: 0 additions & 1 deletion src/main/java/seedu/address/ui/UiManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ public class UiManager implements Ui {
* Creates a {@code UiManager} with the given {@code Logic}.
*/
public UiManager(Logic logic) {
super();
this.logic = logic;
}

Expand Down

0 comments on commit c09fcae

Please sign in to comment.