Details
-
New Feature
-
Resolution: Unresolved
-
Major
-
None
-
11.10
-
None
-
Unit
-
Unknown
-
Description
Context: see https://forum.xwiki.org/t/start-using-optional-for-return-values-when-they-can-be-null/6647
Example:
Before:
#set ($value = $var.someMethodReturningOptional.get())
After:
#set ($value = $var.someMethodReturningOptional)
Will return null if the optional is null.