Github user StephanEwen commented on a diff in the pull request:

    https://github.com/apache/flink/pull/3318#discussion_r101282565
  
    --- Diff: 
flink-core/src/main/java/org/apache/flink/api/java/typeutils/TypeExtractor.java 
---
    @@ -1723,20 +1720,17 @@ private boolean isValidPojoField(Field f, Class<?> 
clazz, ArrayList<Type> typeHi
                                        // return type is void.
                                        m.getReturnType().equals(Void.TYPE)
                                ) {
    -                                   if(hasSetter) {
    -                                           throw new 
IllegalStateException("Detected more than one setter");
    -                                   }
                                        hasSetter = true;
                                }
                        }
                        if(hasGetter && hasSetter) {
                                return true;
                        } else {
                                if(!hasGetter) {
    -                                   LOG.debug(clazz+" does not contain a 
getter for field "+f.getName() );
    +                                   LOG.info(clazz+" does not contain a 
getter for field "+f.getName() );
    --- End diff --
    
    Does it make sense to log this on `info`? That can be a lot of log output 
for programs with many types...


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to