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

Gavin King gavin.king at jboss.com
Tue Oct 10 22:37:42 EDT 2006


  User: gavin   
  Date: 06/10/10 22:37:42

  Modified:    src/main/org/jboss/seam/interceptors 
                        ManagedEntityIdentityInterceptor.java
  Log:
  fixed a breakage in remoting stuff
  
  Revision  Changes    Path
  1.7       +3 -2      jboss-seam/src/main/org/jboss/seam/interceptors/ManagedEntityIdentityInterceptor.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: ManagedEntityIdentityInterceptor.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/interceptors/ManagedEntityIdentityInterceptor.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -b -r1.6 -r1.7
  --- ManagedEntityIdentityInterceptor.java	10 Oct 2006 19:37:38 -0000	1.6
  +++ ManagedEntityIdentityInterceptor.java	11 Oct 2006 02:37:42 -0000	1.7
  @@ -81,9 +81,10 @@
      
      public void entityRefsToIds(InvocationContext ctx) throws Exception
      {      
  -      Set<String> pcs = TouchedContexts.instance().getTouchedContexts();
  -      if ( pcs!=null && pcs.size()>0 )
  +      TouchedContexts touchedContexts = TouchedContexts.instance();
  +      if ( touchedContexts!=null && touchedContexts.getTouchedContexts().size()>0 )
         {
  +         Set<String> pcs = touchedContexts.getTouchedContexts();
            Object bean = ctx.getTarget();
            Class beanClass = bean.getClass();
            for (; beanClass!=Object.class; beanClass=beanClass.getSuperclass())
  
  
  



More information about the jboss-cvs-commits mailing list