geronimo icon indicating copy to clipboard operation
geronimo copied to clipboard

GERONIMO-6721 Use Objects.equals(String,String) to avoid possible NullPointerException

Open bd2019us opened this issue 5 years ago • 0 comments

Hello, I found that the String "mode" may cause potential risk of NullPointerException since the method "getParameter" may return a null value. One recommended API is Objects.equals(String,String) which can avoid this exception.

bd2019us avatar Apr 14 '19 03:04 bd2019us