You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by GitBox <gi...@apache.org> on 2019/03/20 21:17:04 UTC

[GitHub] [cayenne] mrg commented on a change in pull request #371: New BeanAccessor constructor, allowing custom accessor method names

mrg commented on a change in pull request #371: New BeanAccessor constructor, allowing custom accessor method names
URL: https://github.com/apache/cayenne/pull/371#discussion_r267550157
 
 

 ##########
 File path: cayenne-server/src/main/java/org/apache/cayenne/reflect/BeanAccessor.java
 ##########
 @@ -152,4 +163,19 @@ public void setValue(Object object, Object newValue) throws PropertyException {
 			throw new PropertyException("Error writing property: " + propertyName, this, object, th);
 		}
 	}
+	
 
 Review comment:
   Won't these methods generate an NPE if the property name is a single character?

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services