jstrachan 02/05/17 00:25:51 Modified: beanutils/src/java/org/apache/commons/beanutils BeanUtils.java Log: Made BeanUtils.setProperty() public. This is a useful method for those wishing to set a single property on a bean while still making use of the default conversion mechanism. Revision Changes Path 1.22 +5 -5 jakarta-commons/beanutils/src/java/org/apache/commons/beanutils/BeanUtils.java Index: BeanUtils.java =================================================================== RCS file: /home/cvs/jakarta-commons/beanutils/src/java/org/apache/commons/beanutils/BeanUtils.java,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- BeanUtils.java 27 Apr 2002 23:11:23 -0000 1.21 +++ BeanUtils.java 17 May 2002 07:25:50 -0000 1.22 @@ -1,7 +1,7 @@ /* - * $Header: /home/cvs/jakarta-commons/beanutils/src/java/org/apache/commons/beanutils/BeanUtils.java,v 1.21 2002/04/27 23:11:23 craigmcc Exp $ - * $Revision: 1.21 $ - * $Date: 2002/04/27 23:11:23 $ + * $Header: /home/cvs/jakarta-commons/beanutils/src/java/org/apache/commons/beanutils/BeanUtils.java,v 1.22 2002/05/17 07:25:50 jstrachan Exp $ + * $Revision: 1.22 $ + * $Date: 2002/05/17 07:25:50 $ * * ==================================================================== * @@ -87,7 +87,7 @@ * @author Chris Audley * @author Rey François * @author Gregor Raıman - * @version $Revision: 1.21 $ $Date: 2002/04/27 23:11:23 $ + * @version $Revision: 1.22 $ $Date: 2002/05/17 07:25:50 $ */ public class BeanUtils { @@ -521,7 +521,7 @@ * @exception InvocationTargetException if the property accessor method * throws an exception */ - private static void setProperty(Object bean, String name, Object value) + public static void setProperty(Object bean, String name, Object value) throws IllegalAccessException, InvocationTargetException { // Trace logging (if enabled)
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>