sergiogonzalez/liferay-portal — pull request #1794 by bmvakili (2014-11-14 20:10:00+00:00)
Title: LPS-51567 - remove unused argument from method

Remove unused alway-null argument; it makes it hard when called from Freemarker:
"There is at least one problem with this null-unaware approach. When you call a Java method from a template, you may want to pass a null value as argument (since the method was designed to be used in Java language, where the concept of null is known). In this case you can exploit a bug of FreeMarker (that we will not fix until we provide a correct solution for passing null values to a method): if you specify a missing variable as the argument, then it will not cause an error, but a null will be passed to the method instead. Like foo.bar(nullArg) will call the bar method with null as argument, assuming that there is no varaible exists with ``nullArg'' name."
http://freemarker.org/docs/app_faq.html#faq_null