Skip to content

Commit

Permalink
Fixed unused imports on music command
Browse files Browse the repository at this point in the history
  • Loading branch information
hanselblack committed Oct 24, 2017
1 parent 7e28dc2 commit e1ff47a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/seedu/address/logic/commands/MusicCommand.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package seedu.address.logic.commands;

import java.io.File;
import java.util.Arrays;

import javafx.scene.media.Media;
Expand Down Expand Up @@ -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++;
Expand Down

0 comments on commit e1ff47a

Please sign in to comment.