Skip to content

Commit

Permalink
Adjust access modifiers to public for subclasses of Command class and…
Browse files Browse the repository at this point in the history
… Task class
  • Loading branch information
PhongTran98 committed Aug 25, 2020
1 parent 56f5c73 commit 3b3b362
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/main/java/command/ByeCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import java.util.List;

class ByeCommand extends Command {
public class ByeCommand extends Command {
public ByeCommand(List<String> input) {
super(input);
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/command/ClearCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import java.util.List;

class ClearCommand extends Command {
public class ClearCommand extends Command {
public ClearCommand(List<String> input) {
super(input);
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/command/DeleteCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import java.util.List;

class DeleteCommand extends Command {
public class DeleteCommand extends Command {
public DeleteCommand(List<String> input) {
super(input);
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/command/DoneCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import java.util.List;

class DoneCommand extends Command {
public class DoneCommand extends Command {
public DoneCommand(List<String> input) {
super(input);
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/command/ListCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import java.util.List;

class ListCommand extends Command {
public class ListCommand extends Command {
public ListCommand(List<String> input) {
super(input);
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/command/TaskCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import java.util.List;

class TaskCommand extends Command {
public class TaskCommand extends Command {
public TaskCommand(List<String> input) {
super(input);
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/task/Deadline.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import java.time.LocalDateTime;

class Deadline extends Task {
public class Deadline extends Task {
public Deadline(String description, LocalDateTime time) {
super(description, time);
super.type = "deadline";
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/task/Event.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import java.time.LocalDateTime;

class Event extends Task {
public class Event extends Task {
public Event(String description, LocalDateTime time) {
super(description, time);
super.type = "event";
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/task/Todo.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import java.time.LocalDateTime;

class Todo extends Task {
public class Todo extends Task {
public Todo(String description) {
super(description, LocalDateTime.MIN);
super.type = "todo";
Expand Down

0 comments on commit 3b3b362

Please sign in to comment.