From 10bbad2103ccd11c0686e6260e337c4ef2c0c78a Mon Sep 17 00:00:00 2001 From: Michael Johnson Date: Sun, 25 Jan 2015 11:57:09 -0800 Subject: [PATCH] Fix Manga Start/End Reading Dates Correct typo in the start/end date parsing for manga titles to match API name. --- .../MAL/api/response/Manga.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Atarashii/src/net/somethingdreadful/MAL/api/response/Manga.java b/Atarashii/src/net/somethingdreadful/MAL/api/response/Manga.java index 6c8fa8dc..825c1af5 100644 --- a/Atarashii/src/net/somethingdreadful/MAL/api/response/Manga.java +++ b/Atarashii/src/net/somethingdreadful/MAL/api/response/Manga.java @@ -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(); @@ -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; } }