修正了文件不存在是sdk的NPE问题

This commit is contained in:
ajaxfan
2021-02-09 09:46:56 +08:00
parent 91369f6343
commit 3250541369

View File

@ -24,4 +24,12 @@ public class AttachmentDetail extends Hashtable<String, List<AttachmentEntity>>
put(bid, list);
}
@Override
public synchronized List<AttachmentEntity> get(Object key) {
if (contains(key)) {
super.get(key);
}
return new ArrayList<>();
}
}