1105075896@qq.com 8 years ago
parent afc3af5225
commit 55df8fa7f4

@ -9,8 +9,8 @@ android {
applicationId "com.monke.monkeybook" applicationId "com.monke.monkeybook"
minSdkVersion 17 minSdkVersion 17
targetSdkVersion 25 targetSdkVersion 25
versionCode 6 versionCode 7
versionName "1.2.1" versionName "1.2.2"
manifestPlaceholders = [UMENG_CHANNEL_VALUE: "debug"] manifestPlaceholders = [UMENG_CHANNEL_VALUE: "debug"]
} }

@ -191,14 +191,14 @@ public class BookInfoBean implements Parcelable,Cloneable{
@Override @Override
protected Object clone() throws CloneNotSupportedException { protected Object clone() throws CloneNotSupportedException {
BookInfoBean bookInfoBean = (BookInfoBean) super.clone(); BookInfoBean bookInfoBean = (BookInfoBean) super.clone();
bookInfoBean.name = new String(name); bookInfoBean.name = name;
bookInfoBean.tag = new String(tag); bookInfoBean.tag = tag;
bookInfoBean.noteUrl = new String(noteUrl); bookInfoBean.noteUrl = noteUrl;
bookInfoBean.chapterUrl = new String(chapterUrl); bookInfoBean.chapterUrl = chapterUrl;
bookInfoBean.coverUrl = new String(coverUrl); bookInfoBean.coverUrl = coverUrl;
bookInfoBean.author = new String(author); bookInfoBean.author = author;
bookInfoBean.introduce = new String(introduce); bookInfoBean.introduce = introduce;
bookInfoBean.origin = new String(origin); bookInfoBean.origin = origin;
if(chapterlist!=null){ if(chapterlist!=null){
List<ChapterListBean> newList = new ArrayList<>(); List<ChapterListBean> newList = new ArrayList<>();
Iterator<ChapterListBean> iterator = chapterlist.iterator(); Iterator<ChapterListBean> iterator = chapterlist.iterator();

@ -136,8 +136,8 @@ public class BookShelfBean implements Parcelable,Cloneable{
@Override @Override
public Object clone() throws CloneNotSupportedException { public Object clone() throws CloneNotSupportedException {
BookShelfBean bookShelfBean = (BookShelfBean) super.clone(); BookShelfBean bookShelfBean = (BookShelfBean) super.clone();
bookShelfBean.noteUrl = new String(noteUrl); bookShelfBean.noteUrl = noteUrl;
bookShelfBean.tag = new String(tag); bookShelfBean.tag = tag;
bookShelfBean.bookInfoBean = (BookInfoBean) bookInfoBean.clone(); bookShelfBean.bookInfoBean = (BookInfoBean) bookInfoBean.clone();
return bookShelfBean; return bookShelfBean;
} }

@ -137,11 +137,11 @@ public class ChapterListBean implements Parcelable,Cloneable{
@Override @Override
protected Object clone() throws CloneNotSupportedException { protected Object clone() throws CloneNotSupportedException {
ChapterListBean chapterListBean = (ChapterListBean) super.clone(); ChapterListBean chapterListBean = (ChapterListBean) super.clone();
chapterListBean.noteUrl = new String(noteUrl); chapterListBean.noteUrl = noteUrl;
chapterListBean.durChapterUrl = new String(durChapterUrl); chapterListBean.durChapterUrl = durChapterUrl;
chapterListBean.durChapterName = new String(durChapterName); chapterListBean.durChapterName = durChapterName;
chapterListBean.tag = new String(tag); chapterListBean.tag = tag;
chapterListBean.hasCache = new Boolean(hasCache); chapterListBean.hasCache = hasCache;
chapterListBean.bookContentBean = new BookContentBean(); chapterListBean.bookContentBean = new BookContentBean();
return chapterListBean; return chapterListBean;
} }

Loading…
Cancel
Save