Access the class attributes using the properties instead of getter methods. For example, request.getCookies() could be accessed directly as request.Cookies. This reduces instances of null pointer exceptions. When accessing properties, the .(dot) notation is null safe.
Answered
How to use Properties instead of getter methods
Can someone please help me how to use the Properties in GW
439 Views
1
Answer
11 months ago
11 months ago
Tags