Skip to content

Commit

Permalink
修正一些东西
Browse files Browse the repository at this point in the history
  • Loading branch information
nanchen2251 committed Mar 21, 2017
1 parent f79f1c6 commit 38b220e
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,6 @@ public Object retrieve(String id) {
if (data == null || mInstance == null){
throw new RuntimeException("你必须先初始化");
}
List<ImageItem> objectWeakReference = data.get(id);
if (objectWeakReference == null){
throw new RuntimeException("相册数据弱引用为空!请检查!");
}
return objectWeakReference;
return data.get(id);
}
}

0 comments on commit 38b220e

Please sign in to comment.