Skip to content

Commit

Permalink
Fix build.gradle and add Javadocs to Duke.java, ignore previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Illio Suardi committed Sep 1, 2020
1 parent ee28ea6 commit 776268e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
3 changes: 1 addition & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ test {

testLogging {
events "passed", "skipped", "failed"

showExceptions true
exceptionFormat "full"
showCauses true
Expand All @@ -39,7 +38,7 @@ shadowJar {
}

checkstyle {
toolVersion = '8.23'
toolVersion = '8.29'
}

run{
Expand Down
14 changes: 9 additions & 5 deletions src/main/java/Duke.java
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import duke.resource.Parser;
import duke.resource.TaskList;
import duke.util.DukeException;

import duke.Command;
import duke.Storage;
import duke.Ui;
import duke.resource.Parser;
import duke.resource.TaskList;
import duke.util.DukeException;

/**
* Duke is a bot that functions as a user's task manager.
Expand Down Expand Up @@ -52,7 +51,12 @@ public void run() {
}
}

public static void main(String[] args){
/**
* Creates a new Duke object and runs it, starting the entire chat-bot.
* @param args input arguments for main; unused
*/

public static void main(String[] args) {
// change the filePath below to save elsewhere
new Duke("./src/main/data/duke.txt").run();
}
Expand Down

0 comments on commit 776268e

Please sign in to comment.