Ignore:
Timestamp:
09/06/10 11:40:42 (21 months ago)
Author:
jharrop
Message:

Avoid things of the form:

extends JaxbXmlPart?<JAXBElement<xyz>>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/docx4j/src/main/java/org/docx4j/openpackaging/parts/WordprocessingML/DocumentPart.java

    r1032 r1203  
    172172                        // Word seems to add an endnotes part when it adds a footnotes part, 
    173173                        // so existence of part is not determinative 
    174                         CTEndnotes endnotes = wmlPackage.getMainDocumentPart().getEndNotesPart().getJaxbElement().getValue(); 
     174                        CTEndnotes endnotes = wmlPackage.getMainDocumentPart().getEndNotesPart().getJaxbElement(); 
    175175                         
    176176                        if (endnotes.getEndnote().size()<3) { 
     
    203203        public static Node getFootnote(WordprocessingMLPackage wmlPackage, String id) {  
    204204                 
    205                 CTFootnotes footnotes = wmlPackage.getMainDocumentPart().getFootnotesPart().getJaxbElement().getValue(); 
     205                CTFootnotes footnotes = wmlPackage.getMainDocumentPart().getFootnotesPart().getJaxbElement(); 
    206206                int pos = Integer.parseInt(id); 
    207207                 
Note: See TracChangeset for help on using the changeset viewer.