Spring

StringUtils.isEmpty is deprecated

synclair 2024. 2. 26. 15:10

 

StringUtils.isEmpty()는 deprecated 되었다고 경고창이 떴다.

 

대체제로 hasText(),hasLength()를  사용 하면 된다.

 

나의 경우 hasText를 써서 적용 하니 잘 동작 했다.