Enumeration.vsl toString() returns index as String representation
-----------------------------------------------------------------

         Key: JAVA-26
         URL: http://jira.andromda.org/browse/JAVA-26
     Project: Java Cartridge
        Type: Bug
    Reporter: Ralf Reinhardt
 Assigned to: Matthias Bohlen 
    Priority: Trivial


the current implementation returns the value as string:
    /**
     * @see java.lang.Object#toString()
     */
    public String toString()
    {
        return "" + value;
    }
it should be be string representation: (did not test that, but seems trivial)
    /**
     * @see java.lang.Object#toString()
     */
    public String toString()
    {
        return (String)names.get(value);
    }




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

Reply via email to