bhuism commented on a change in pull request #461:
URL: https://github.com/apache/wicket/pull/461#discussion_r561755806



##########
File path: 
wicket-spring/src/main/java/org/apache/wicket/spring/injection/annot/AnnotProxyFieldValueFactory.java
##########
@@ -117,18 +118,26 @@ public Object getFieldValue(final Field field, final 
Object fieldOwner)
                {
                        SpringBean annot = 
field.getAnnotation(SpringBean.class);
 
-                       String name;
-                       boolean required;
+                       String name = null;
+                       Boolean required = true;

Review comment:
       Good idea, thanks




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to