cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [cayenne] mrg commented on a change in pull request #371: New BeanAccessor constructor, allowing custom accessor method names
Date Wed, 20 Mar 2019 21:17:04 GMT
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

Mime
View raw message