mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-13 11:12:22 -05:00
Ews: fix possible NullPonterException
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1411 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
4080160040
commit
c8f44069bf
@ -601,7 +601,11 @@ public abstract class EWSMethod extends PostMethod {
|
||||
*/
|
||||
public List<Item> getResponseItems() throws EWSException {
|
||||
checkSuccess();
|
||||
if (responseItems != null) {
|
||||
return responseItems;
|
||||
} else {
|
||||
return new ArrayList<Item>();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user