Skip to content
This repository has been archived by the owner on Jun 29, 2023. It is now read-only.

Commit

Permalink
Get result of update
Browse files Browse the repository at this point in the history
  • Loading branch information
madeindjs committed Apr 20, 2018
1 parent 31365d2 commit 2a0f3c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.github.madeindjs</groupId>
<artifactId>feedID3</artifactId>
<version>0.1.1</version>
<version>0.1.2</version>

<!-- Some Central Repository requirements http://central.sonatype.org/pages/requirements.html -->
<name>feedID3</name>
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/github/madeindjs/feedID3/MyMp3File.java
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public void setNewID3(ID3v24Tag newID3) {
* @throws IOException
* @throws NotSupportedException
*/
public void update() throws IOException, NotSupportedException {
public boolean update() throws IOException, NotSupportedException {
// this.setId3v2Tag(newID3);
this.setId3v1Tag(newID3);
this.currentID3 = newID3;
Expand All @@ -98,7 +98,7 @@ public void update() throws IOException, NotSupportedException {
File retag = new File(getRetagFilename());

origin.delete();
retag.renameTo(origin);
return retag.renameTo(origin);
}

private String getRetagFilename() {
Expand Down

0 comments on commit 2a0f3c7

Please sign in to comment.