Deprecated StringUtil

I see that StringUtil is deprecated
StringUtil (Liquibase Parent 4.28.0 API)

The deprecation message says migrate to StringUtils. Which StringUtils class are you concretely reffering to?

  • I guess its form org.apache.commons:commons-lang, not your own liquibase library correct?
  • Or is it StringUtils form Spring Framework?
  • Or your own Liquibase library but I can’t find any SpringUtils class
  • Or I can pick whatever alternative I find suitable?

Maybe this could be more explicit from the deprecation message.

image

Thanks for any feedback.

Hi @ReIvancic,

Correct, it means to use StringUtils class from org.apache.commons:commons-lang.

Thanks,
Daniel.

1 Like