修正了文件不存在是sdk的NPE问题
This commit is contained in:
@ -24,4 +24,12 @@ public class AttachmentDetail extends Hashtable<String, List<AttachmentEntity>>
|
|||||||
put(bid, list);
|
put(bid, list);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public synchronized List<AttachmentEntity> get(Object key) {
|
||||||
|
if (contains(key)) {
|
||||||
|
super.get(key);
|
||||||
|
}
|
||||||
|
return new ArrayList<>();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user