Commit 49e7d969 authored by Mickaël Guessant's avatar Mickaël Guessant

Caldav: fix 569 and patch 32, avoid NullPointerException with Exchange 2013

git-svn-id: https://svn.code.sf.net/p/davmail/code/trunk@2294 3d1905a2-6b24-0410-a738-b14d5a86fcbd
parent 1ae7d55d
......@@ -279,9 +279,11 @@ public class VProperty {
* @param paramValue param value
*/
public void addParam(String paramName, String paramValue) {
List<String> paramValues = new ArrayList<String>();
paramValues.add(paramValue);
addParam(paramName, paramValues);
if (paramValue != null) {
List<String> paramValues = new ArrayList<String>();
paramValues.add(paramValue);
addParam(paramName, paramValues);
}
}
protected void addParam(String paramName, List<String> paramValues) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment