결론
null 안정성을 위해 "SUCCESS".equals(inputStr) 방식으로 써라
inputStr 이 null 이면
"SUCCESS".equals(inputStr) 은 NullPointerException 을 발생시키지 않는다.
* gtp에게 물어봄
결론
null 안정성을 위해 "SUCCESS".equals(inputStr) 방식으로 써라
inputStr 이 null 이면
"SUCCESS".equals(inputStr) 은 NullPointerException 을 발생시키지 않는다.
* gtp에게 물어봄
댓글