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

Gavin King gavin.king at jboss.com
Wed Jul 25 10:40:30 EDT 2007


  User: gavin   
  Date: 07/07/25 10:40:30

  Modified:    src/main/org/jboss/seam  Component.java
  Log:
  fix some problems with test suite
  
  Revision  Changes    Path
  1.279     +9 -1      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.278
  retrieving revision 1.279
  diff -u -b -r1.278 -r1.279
  --- Component.java	24 Jul 2007 22:10:18 -0000	1.278
  +++ Component.java	25 Jul 2007 14:40:30 -0000	1.279
  @@ -1967,8 +1967,16 @@
   
      private void callDefaultRemoveMethod(Object instance)
      {
  +      if ( hasDefaultRemoveMethod() )
  +      {
         callComponentMethod( instance, getDefaultRemoveMethod() );
      }
  +   }
  +   
  +   public boolean hasDefaultRemoveMethod()
  +   {
  +      return defaultRemoveMethod!=null;
  +   }
   
      public Method getDefaultRemoveMethod()
      {
  
  
  



More information about the jboss-cvs-commits mailing list