diff --git a/src/main/java/seedu/address/logic/commands/MusicCommand.java b/src/main/java/seedu/address/logic/commands/MusicCommand.java index d00429e69b26..fcfebe1dedbd 100644 --- a/src/main/java/seedu/address/logic/commands/MusicCommand.java +++ b/src/main/java/seedu/address/logic/commands/MusicCommand.java @@ -1,6 +1,5 @@ package seedu.address.logic.commands; -import java.io.File; import java.util.Arrays; import javafx.scene.media.Media; @@ -64,7 +63,8 @@ public CommandResult execute() { return new CommandResult(messageSuccess); } if (genreExist) { - String musicFile = getClass().getResource("/audio/music/"+ genre + trackNumber + ".mp3").toExternalForm(); + String musicFile = getClass().getResource("/audio/music/" + + genre + trackNumber + ".mp3").toExternalForm(); messageSuccess = genre.toUpperCase() + " Music Playing"; if (trackNumber < 2) { trackNumber++;