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

Commit

Permalink
Fix Manga Start/End Reading Dates
Browse files Browse the repository at this point in the history
Correct typo in the start/end date parsing for manga titles to match
API name.
  • Loading branch information
srvrguy committed Jan 25, 2015
1 parent 63663ef commit 10bbad2
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Atarashii/src/net/somethingdreadful/MAL/api/response/Manga.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ public class Manga extends GenericRecord implements Serializable {
private int chapters_read;
private int volumes_read;
private int listed_manga_id;
private String readingStart;
private String readingEnd;
private String reading_start;
private String reading_end;

public static Manga fromCursor(Cursor c) {
Manga result = new Manga();
Expand Down Expand Up @@ -177,18 +177,18 @@ public int getTotal(boolean useSecondaryAmount) {
}

public String getReadingStart() {
return readingStart;
return reading_start;
}

public String getReadingEnd() {
return readingEnd;
return reading_end;
}

public void setReadingStart(String readingStart) {
this.readingStart = readingStart;
public void setReadingStart(String reading_start) {
this.reading_start = reading_start;
}

public void setReadingEnd(String readingEnd) {
this.readingEnd = readingEnd;
public void setReadingEnd(String reading_end) {
this.reading_end = reading_end;
}
}

0 comments on commit 10bbad2

Please sign in to comment.