User: patriot1burke
  Date: 01/06/13 11:49:13

  Modified:    src/main/org/jboss/ejb/plugins/jrmp/interfaces
                        EntityProxy.java
  Log:
  use cacheKey.getId() instead of cacheKey.id
  
  Revision  Changes    Path
  1.24      +6 -6      
jboss/src/main/org/jboss/ejb/plugins/jrmp/interfaces/EntityProxy.java
  
  Index: EntityProxy.java
  ===================================================================
  RCS file: 
/cvsroot/jboss/jboss/src/main/org/jboss/ejb/plugins/jrmp/interfaces/EntityProxy.java,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- EntityProxy.java  2001/05/02 03:04:14     1.23
  +++ EntityProxy.java  2001/06/13 18:49:13     1.24
  @@ -26,7 +26,7 @@
    * @author  Rickard �berg ([EMAIL PROTECTED])
    * @author  <a href="mailto:[EMAIL PROTECTED]";>Marc Fleury</a>
    * @author  Jason Dillon <a 
href="mailto:[EMAIL PROTECTED]";>&lt;[EMAIL PROTECTED]&gt;</a>
  - * @version $Revision: 1.23 $
  + * @version $Revision: 1.24 $
    */
   public class EntityProxy
       extends BeanProxy
  @@ -105,27 +105,27 @@
          
          // Implement local methods
          if (m.equals(TO_STRING)) {
  -           return name + ":" + cacheKey.id.toString();
  +           return name + ":" + cacheKey.getId().toString();
          }
          else if (m.equals(EQUALS)) {
              return invoke(proxy, IS_IDENTICAL, args);
          }
          else if (m.equals(HASH_CODE)) {
  -         return new Integer(cacheKey.id.hashCode());
  +         return new Integer(cacheKey.getId().hashCode());
          }
          
          // Implement local EJB calls
          else if (m.equals(GET_HANDLE)) {
  -           return new EntityHandleImpl(initialContextHandle, name, cacheKey.id);
  +           return new EntityHandleImpl(initialContextHandle, name, 
cacheKey.getId());
          }
          else if (m.equals(GET_PRIMARY_KEY)) {
  -           return cacheKey.id;
  +           return cacheKey.getId();
          }
           else if (m.equals(GET_EJB_HOME)) {
              return getEJBHome();
          }
          else if (m.equals(IS_IDENTICAL)) {
  -           return isIdentical(args[0], cacheKey.id);
  +           return isIdentical(args[0], cacheKey.getId());
          }
          
          // If not taken care of, go on and call the container
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to