dev@jax-ws.java.net

Duplicate attachmentSet member variable found in EmptyMessageImpl.java and JAXBMessage.java

From: Jian Liao <jian.liao_at_gmail.com>
Date: Sun, 21 Jan 2007 15:50:19 +0800

Hi all,
I am reading the code of jaxws-2.1 trunk. I found that there is a member
variable named attachmentSet in both EmptyMessageImpl.java and
JAXBMessage.java which is duplicated with their parent class
com.sun.xml.ws.api.message.Message.
The following is the hierarchy:

com.sun.xml.ws.api.message.Message(protected AttachmentSet attachmentSet)

|

|

com.sun.xml.ws.message.AbstractMessageImpl
                                                                          /
\

/ \

/ \

/ \

/ \

/ \

/ \
    com.sun.xml.ws.message.EmptyMessageImpl
com.sun.xml.ws.message.jaxb.JAXBMessage
      (private final AttachmentSet attachmentSet) (private final
AttachmentSetImpl attachmentSet)

Could they be removed safely? Because they are really confused.

-- 
thanks,
- Jian Liao