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
603 Views
1
Answer
one year ago
one year ago
Tags