Message:

   The following issue has been closed.

   Resolver: Sascha-Matthias Kulawik
       Date: Di, 12 Okt 2004 1:26 PM

Fixed
---------------------------------------------------------------------
View the issue:
  http://team.andromda.org:8080/jira/browse/EJB-8

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: EJB-8
    Summary: [EJBMetafacadeUtils] getInheritedInstanceAttributes: always returns empty 
list
       Type: Bug

     Status: Closed
   Priority: Major
 Resolution: FIXED

 Original Estimate: 5 minutes
 Time Spent: Unknown
  Remaining: 5 minutes

    Project: EJB Cartridge

   Assignee: Sascha-Matthias Kulawik
   Reporter: Jens Kumpfmueller

    Created: Mo, 27 Sep 2004 11:20 AM
    Updated: Di, 12 Okt 2004 1:26 PM

Description:
getInheritedInstanceAttributes adds no attributes and so returns always an empty list. 
Possible solution, see patch below.

Greetings
Jens

Index: EJBMetafacadeUtils.java
===================================================================
RCS file: 
/cvsroot/andromda/cartridges/andromda-ejb/src/java/org/andromda/cartridges/ejb/metafacades/EJBMetafacadeUtils.java,v
retrieving revision 1.6
diff -u -r1.6 EJBMetafacadeUtils.java
--- EJBMetafacadeUtils.java     7 Aug 2004 18:40:35 -0000       1.6
+++ EJBMetafacadeUtils.java     27 Sep 2004 11:03:56 -0000
@@ -146,6 +142,11 @@
             return new ArrayList();
         }
         List retval = getInheritedInstanceAttributes(current);
+        
+        if(current.getInstanceAttributes() != null)
+        {
+          retval.addAll(current.getInstanceAttributes());
+        }
         return retval;
     }



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://team.andromda.org:8080/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Andromda-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-devel

Reply via email to