ernestosemedy commented on code in PR #1493:
URL: https://github.com/apache/wicket/pull/1493#discussion_r3455057456
##########
wicket-core/src/main/java/org/apache/wicket/ajax/AjaxRequestHandler.java:
##########
@@ -104,7 +104,18 @@ public AjaxRequestHandler(final Page page)
{
super(page);
- update = new XmlPartialPageUpdate(page)
+ update = newPartialPageUpdate(page);
Review Comment:
Factory method is better because constructor argument does not allow access
to protected methods
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]