I was hesitating, but used just string, because annotation of method setCookieParameters in the same file also doesn't specify NULL for two of its optional arguments. Feel free to fix all of those in another commit if you consider it a bug.