Announcement Announcement Module
No announcement yet.
BindInitializer/BindUtils: dead code? Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • BindInitializer/BindUtils: dead code?

    It seems that these two classes from the web/bind package are not referenced anywhere. (Except tests)

    In the case of BindUtils - an utility class - that's understandable, but it seems less clean to let an unused strategy interface (BindInitialized) linger around.

    On a related note, a binding customization strategy is something that I miss now and then. My habit at the moment is to have a ServletRequestDataBinder subclass that:
    1) registers some editors that are used all over the place
    2) does unconditional trim() for all request parameters

    I'd like to know if there's a better way to do what I do now, and what improvements are in the pipeline for 1.3.