[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlbeans-dev
Subject:    [jira] Created: (XMLBEANS-292) override XMLObject.copy() signature
From:       "Stepan Koltsov (JIRA)" <xmlbeans-dev () xml ! apache ! org>
Date:       2006-10-10 21:00:19
Message-ID: 32256264.1160514019876.JavaMail.root () brutus
[Download RAW message or body]

override XMLObject.copy() signature if compiling for JDK1.5
-----------------------------------------------------------

                 Key: XMLBEANS-292
                 URL: http://issues.apache.org/jira/browse/XMLBEANS-292
             Project: XMLBeans
          Issue Type: Wish
    Affects Versions: Version 2.2.1
            Reporter: Stepan Koltsov
            Priority: Minor


Hello,

XMLObject.copy() returns deep copy of itself. JDK 1.5 supports overriding of return \
value in methods of subclasses.

So, could you, please, specify more concrete return value in overriden object in \
inheritors of XMLObject? For example, if I have

interface Apple extends XMLObject

it should have method

Apple copy();

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: \
                http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic