[jboss-cvs] jboss-seam/src/main/org/jboss/seam ...

Gavin King gavin.king at jboss.com
Wed Aug 9 17:39:50 EDT 2006


  User: gavin   
  Date: 06/08/09 17:39:50

  Modified:    src/main/org/jboss/seam  Component.java
  Log:
  exception reporting
  
  Revision  Changes    Path
  1.158     +3 -3      jboss-seam/src/main/org/jboss/seam/Component.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Component.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/Component.java,v
  retrieving revision 1.157
  retrieving revision 1.158
  diff -u -b -r1.157 -r1.158
  --- Component.java	3 Aug 2006 04:00:12 -0000	1.157
  +++ Component.java	9 Aug 2006 21:39:50 -0000	1.158
  @@ -88,7 +88,7 @@
    *
    * @author <a href="mailto:theute at jboss.org">Thomas Heute</a>
    * @author Gavin King
  - * @version $Revision: 1.157 $
  + * @version $Revision: 1.158 $
    */
   @Scope(ScopeType.APPLICATION)
   public class Component
  @@ -1250,7 +1250,7 @@
      private Object getFieldValue(Object bean, Field field, String name)
      {
         try {
  -         return field.get(bean);
  +         return Reflections.get(field, bean);
         }
         catch (Exception e)
         {
  @@ -1285,7 +1285,7 @@
      {
         try
         {
  -         field.set(bean, value);
  +         Reflections.set(field, bean, value);
         }
         catch (Exception e)
         {
  
  
  



More information about the jboss-cvs-commits mailing list