Does creating a new instance of JsonDataBinder really justify an info log message? Personally I don't think it does - hence the first change.
The second change reduces a warn to a debug, because a warning should indicate some kind of problem, but this message happens even when the view models are setup correctly (I have @ViewModel(rootElementNames = "myElement"), so I get a redundant warning like Could not load Model Class for key: my-element).
We may as well remove that constructor log line. I added this ages ago to test the singletonness, but since we're now using Spring, it makes no sense. What do you think?
Does creating a new instance of
JsonDataBinder
really justify an info log message? Personally I don't think it does - hence the first change.The second change reduces a warn to a debug, because a warning should indicate some kind of problem, but this message happens even when the view models are setup correctly (I have
@ViewModel(rootElementNames = "myElement")
, so I get a redundant warning likeCould not load Model Class for key: my-element
).