mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-21 23:18:49 -05:00
Caldav: fix 569 and patch 32, avoid NullPointerException with Exchange 2013
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@2294 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
5e7cfb93e9
commit
42b288bb3b
@ -279,9 +279,11 @@ public class VProperty {
|
|||||||
* @param paramValue param value
|
* @param paramValue param value
|
||||||
*/
|
*/
|
||||||
public void addParam(String paramName, String paramValue) {
|
public void addParam(String paramName, String paramValue) {
|
||||||
List<String> paramValues = new ArrayList<String>();
|
if (paramValue != null) {
|
||||||
paramValues.add(paramValue);
|
List<String> paramValues = new ArrayList<String>();
|
||||||
addParam(paramName, paramValues);
|
paramValues.add(paramValue);
|
||||||
|
addParam(paramName, paramValues);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void addParam(String paramName, List<String> paramValues) {
|
protected void addParam(String paramName, List<String> paramValues) {
|
||||||
|
Loading…
Reference in New Issue
Block a user