See
<https://ci-builds.apache.org/job/POI/job/POI-DSL-Windows-1.17/213/display/redirect?page=changes>
Changes:
[Yegor Kozlov] Bug 65988: Rate function giving incorrect results
[PJ Fanning] [github-321] add test case
------------------------------------------
[...truncated 139.71 KB...]
M V EI2: new org.apache.poi.hpbf.extractor.PublisherTextExtractor(HPBFDocument)
may expose internal representation by storing an externally mutable object into
PublisherTextExtractor.doc At PublisherTextExtractor.java:[line 40]
M V EI: org.apache.poi.hpbf.extractor.PublisherTextExtractor.getFilesystem()
may expose internal representation by returning PublisherTextExtractor.doc At
PublisherTextExtractor.java:[line 118]
M V EI: org.apache.poi.hpbf.extractor.PublisherTextExtractor.getDocument() may
expose internal representation by returning PublisherTextExtractor.doc At
PublisherTextExtractor.java:[line 103]
M B DE:
org.apache.poi.hemf.record.emfplus.HemfPlusImage$EmfPlusImage.getBounds(List)
might ignore java.lang.Exception At HemfPlusImage.java:[line 445]
M V EI:
org.apache.poi.hemf.record.emfplus.HemfPlusImage$EmfPlusImage.getImageData()
may expose internal representation by returning
HemfPlusImage$EmfPlusImage.imageData At HemfPlusImage.java:[line 294]
M D SF: Switch statement found in
org.apache.poi.hemf.record.emfplus.HemfPlusImage$EmfPlusImage.getContentType(byte[])
where default case is missing At HemfPlusImage.java:[lines 512-526]
M D REC: Exception is caught when Exception is not thrown in
org.apache.poi.hemf.record.emfplus.HemfPlusImage$EmfPlusImage.getBounds(List)
At HemfPlusImage.java:[line 445]
M V EI:
org.apache.poi.hemf.record.emf.HemfComment$EmfCommentDataWMF.getWMFData() may
expose internal representation by returning
HemfComment$EmfCommentDataWMF.wmfData At HemfComment.java:[line 613]
M V EI:
org.apache.poi.hemf.record.emf.HemfComment$EmfCommentDataWMF.getBounds() may
expose internal representation by returning
HemfComment$EmfCommentDataWMF.bounds At HemfComment.java:[line 617]
M D DLS: Dead store to version in
org.apache.poi.hemf.record.emf.HemfComment$EmfCommentDataWMF.init(LittleEndianInputStream,
long) At HemfComment.java:[line 587]
M D DLS: Dead store to checksum in
org.apache.poi.hemf.record.emf.HemfComment$EmfCommentDataWMF.init(LittleEndianInputStream,
long) At HemfComment.java:[line 593]
M D DLS: Dead store to flags in
org.apache.poi.hemf.record.emf.HemfComment$EmfCommentDataWMF.init(LittleEndianInputStream,
long) At HemfComment.java:[line 596]
M V EI2: new
org.apache.poi.hwpf.converter.WordToTextConverter(TextDocumentFacade) may
expose internal representation by storing an externally mutable object into
WordToTextConverter.textDocumentFacade At WordToTextConverter.java:[line 158]
M V EI2: new org.apache.poi.hwpf.extractor.WordExtractor(HWPFDocument) may
expose internal representation by storing an externally mutable object into
WordExtractor.doc At WordExtractor.java:[line 74]
M V EI: org.apache.poi.hwpf.extractor.WordExtractor.getFilesystem() may expose
internal representation by returning WordExtractor.doc At
WordExtractor.java:[line 290]
M V EI: org.apache.poi.hwpf.extractor.WordExtractor.getDocument() may expose
internal representation by returning WordExtractor.doc At
WordExtractor.java:[line 275]
M D DLS: Dead store to signature in
org.apache.poi.hemf.record.emf.HemfFont.init(LittleEndianInputStream, long) At
HemfFont.java:[line 457]
M D DLS: Dead store to reserved in
org.apache.poi.hemf.record.emf.HemfFont.init(LittleEndianInputStream, long) At
HemfFont.java:[line 385]
M D DLS: Dead store to version in
org.apache.poi.hemf.record.emf.HemfFont.init(LittleEndianInputStream, long) At
HemfFont.java:[line 376]
M D DLS: Dead store to match in
org.apache.poi.hemf.record.emf.HemfFont.init(LittleEndianInputStream, long) At
HemfFont.java:[line 383]
M V EI: org.apache.poi.hwmf.record.HwmfFill$WmfStretchDib.getDstBounds() may
expose internal representation by returning HwmfFill$WmfStretchDib.dstBounds
At HwmfFill.java:[line 658]
M V EI: org.apache.poi.hwmf.record.HwmfFill$WmfStretchDib.getSrcBounds() may
expose internal representation by returning HwmfFill$WmfStretchDib.srcBounds
At HwmfFill.java:[line 654]
M V EI: org.apache.poi.hslf.record.SlideAtom.getSSlideLayoutAtom() may expose
internal representation by returning SlideAtom.layoutAtom At
SlideAtom.java:[line 61]
M V EI:
org.apache.poi.hemf.record.emfplus.HemfPlusBrush$EmfPlusBrush.getBrushBytes()
may expose internal representation by returning
HemfPlusBrush$EmfPlusBrush.brushBytes At HemfPlusBrush.java:[line 387]
M V EI2: new org.apache.poi.hwpf.converter.HtmlDocumentFacade(Document) may
expose internal representation by storing an externally mutable object into
HtmlDocumentFacade.document At HtmlDocumentFacade.java:[line 46]
M V EI: org.apache.poi.hwpf.converter.HtmlDocumentFacade.getBody() may expose
internal representation by returning HtmlDocumentFacade.body At
HtmlDocumentFacade.java:[line 235]
M V EI: org.apache.poi.hwpf.converter.HtmlDocumentFacade.getHead() may expose
internal representation by returning HtmlDocumentFacade.head At
HtmlDocumentFacade.java:[line 245]
M V EI: org.apache.poi.hwpf.converter.HtmlDocumentFacade.getDocument() may
expose internal representation by returning HtmlDocumentFacade.document At
HtmlDocumentFacade.java:[line 240]
M V EI: org.apache.poi.hslf.usermodel.HSLFSlideShowImpl.getRecords() may expose
internal representation by returning HSLFSlideShowImpl._records At
HSLFSlideShowImpl.java:[line 923]
M V EI: org.apache.poi.hslf.usermodel.HSLFSlideShowImpl.getCurrentUserAtom()
may expose internal representation by returning HSLFSlideShowImpl.currentUser
At HSLFSlideShowImpl.java:[line 938]
M V EI: org.apache.poi.hslf.usermodel.HSLFSlideShowImpl.getUnderlyingBytes()
may expose internal representation by returning HSLFSlideShowImpl._docstream
At HSLFSlideShowImpl.java:[line 931]
M V EI: org.apache.poi.hslf.usermodel.HSLFSlideShowImpl.getEmbeddedObjects()
may expose internal representation by returning HSLFSlideShowImpl._objects At
HSLFSlideShowImpl.java:[line 974]
M V EI: org.apache.poi.hwmf.record.HwmfDraw$WmfPolyPolygon.getPolyList() may
expose internal representation by returning HwmfDraw$WmfPolyPolygon.polyList
At HwmfDraw.java:[line 461]
M D SF: Switch statement found in
org.apache.poi.hwmf.record.HwmfDraw$WmfPolyPolygon.draw(HwmfGraphics) where
default case is missing At HwmfDraw.java:[lines 401-410]
M V EI: org.apache.poi.hwmf.draw.HwmfImageRenderer.getGenericRecord() may
expose internal representation by returning HwmfImageRenderer.image At
HwmfImageRenderer.java:[line 155]
M V EI2: new org.apache.poi.hwpf.converter.WordToFoConverter(FoDocumentFacade)
may expose internal representation by storing an externally mutable object into
WordToFoConverter.foDocumentFacade At WordToFoConverter.java:[line 129]
M V EI:
org.apache.poi.hwmf.record.HwmfWindowing$WmfIntersectClipRect.getBounds() may
expose internal representation by returning
HwmfWindowing$WmfIntersectClipRect.bounds At HwmfWindowing.java:[line 574]
M V EI: org.apache.poi.hemf.record.emf.HemfFill$EmfFillRgn.getBounds() may
expose internal representation by returning HemfFill$EmfFillRgn.bounds At
HemfFill.java:[line 473]
M V EI: org.apache.poi.hemf.record.emf.HemfFill$EmfFillRgn.getRgnRects() may
expose internal representation by returning HemfFill$EmfFillRgn.rgnRects At
HemfFill.java:[line 477]
M D DLS: Dead store to rgnDataSize in
org.apache.poi.hemf.record.emf.HemfFill$EmfFillRgn.init(LittleEndianInputStream,
long, long) At HemfFill.java:[line 461]
M V EI2: new
org.apache.poi.hssf.converter.ExcelToHtmlConverter(HtmlDocumentFacade) may
expose internal representation by storing an externally mutable object into
ExcelToHtmlConverter.htmlDocumentFacade At ExcelToHtmlConverter.java:[line 172]
M V EI: org.apache.poi.hemf.record.emf.HemfDraw$EmfPolygon.getBounds() may
expose internal representation by returning HemfDraw$EmfPolygon.bounds At
HemfDraw.java:[line 321]
M D DLS: Dead store to glyphPosCnt in
org.apache.poi.hemf.record.emfplus.HemfPlusDraw$EmfPlusDrawDriverString.init(LittleEndianInputStream,
long, long, int) At HemfPlusDraw.java:[line 722]
M V EI2: new org.apache.poi.hssf.converter.ExcelToFoConverter(FoDocumentFacade)
may expose internal representation by storing an externally mutable object into
ExcelToFoConverter.foDocumentFacade At ExcelToFoConverter.java:[line 125]
M V EI: org.apache.poi.hwmf.record.HwmfDraw$WmfFrameRegion.getFrame() may
expose internal representation by returning HwmfDraw$WmfFrameRegion.frame At
HwmfDraw.java:[line 331]
M V EI: org.apache.poi.hdgf.streams.ChunkStream.getChunks() may expose internal
representation by returning ChunkStream.chunks At ChunkStream.java:[line 46]
M V EI: org.apache.poi.hwmf.record.HwmfWindowing$WmfScaleViewportExt.getScale()
may expose internal representation by returning
HwmfWindowing$WmfScaleViewportExt.scale At HwmfWindowing.java:[line 449]
M V EI2: new
org.apache.poi.hslf.extractor.QuickButCruddyTextExtractor(POIFSFileSystem) may
expose internal representation by storing an externally mutable object into
QuickButCruddyTextExtractor.fs At QuickButCruddyTextExtractor.java:[line 100]
M V EI:
org.apache.poi.hemf.record.emfplus.HemfPlusRegion$EmfPlusRegion.getRegionNode()
may expose internal representation by returning
HemfPlusRegion$EmfPlusRegion.regionNode At HemfPlusRegion.java:[line 150]
M D DLS: Dead store to nodeCount in
org.apache.poi.hemf.record.emfplus.HemfPlusRegion$EmfPlusRegion.init(LittleEndianInputStream,
long, HemfPlusObject$EmfPlusObjectType, int) At HemfPlusRegion.java:[line 117]
M V EI: org.apache.poi.hemf.record.emf.HemfFill$EmfSetDiBitsToDevice.getSrc()
may expose internal representation by returning
HemfFill$EmfSetDiBitsToDevice.src At HemfFill.java:[line 740]
M V EI:
org.apache.poi.hemf.record.emf.HemfFill$EmfSetDiBitsToDevice.getBounds() may
expose internal representation by returning
HemfFill$EmfSetDiBitsToDevice.bounds At HemfFill.java:[line 732]
M V EI: org.apache.poi.hemf.record.emf.HemfFill$EmfSetDiBitsToDevice.getDest()
may expose internal representation by returning
HemfFill$EmfSetDiBitsToDevice.dest At HemfFill.java:[line 736]
M D DLS: Dead store to iStartScan in
org.apache.poi.hemf.record.emf.HemfFill$EmfSetDiBitsToDevice.init(LittleEndianInputStream,
long, long) At HemfFill.java:[line 721]
M D DLS: Dead store to cScans in
org.apache.poi.hemf.record.emf.HemfFill$EmfSetDiBitsToDevice.init(LittleEndianInputStream,
long, long) At HemfFill.java:[line 723]
M V EI: org.apache.poi.hwmf.record.HwmfDraw$WmfLineTo.getPoint() may expose
internal representation by returning HwmfDraw$WmfLineTo.point At
HwmfDraw.java:[line 120]
M V EI: org.apache.poi.hwmf.record.HwmfText$WmfExtTextOut.getReference() may
expose internal representation by returning HwmfText$WmfExtTextOut.reference
At HwmfText.java:[line 480]
M V EI: org.apache.poi.hwmf.record.HwmfText$WmfExtTextOut.getBounds() may
expose internal representation by returning HwmfText$WmfExtTextOut.bounds At
HwmfText.java:[line 484]
M V EI: org.apache.poi.hemf.record.emf.HemfFill$EmfFrameRgn.getRgnRects() may
expose internal representation by returning HemfFill$EmfFrameRgn.rgnRects At
HemfFill.java:[line 375]
M V EI: org.apache.poi.hemf.record.emf.HemfFill$EmfFrameRgn.getBounds() may
expose internal representation by returning HemfFill$EmfFrameRgn.bounds At
HemfFill.java:[line 371]
M D DLS: Dead store to rgnDataSize in
org.apache.poi.hemf.record.emf.HemfFill$EmfFrameRgn.init(LittleEndianInputStream,
long, long) At HemfFill.java:[line 347]
M V EI: org.apache.poi.hwmf.record.HwmfFill$WmfSetDibToDev.getSrcBounds() may
expose internal representation by returning HwmfFill$WmfSetDibToDev.srcBounds
At HwmfFill.java:[line 801]
M V EI: org.apache.poi.hwmf.record.HwmfFill$WmfSetDibToDev.getDstBounds() may
expose internal representation by returning HwmfFill$WmfSetDibToDev.dstBounds
At HwmfFill.java:[line 805]
M V EI: org.apache.poi.hemf.record.emf.HemfText$EmfExtTextOutA.getScale() may
expose internal representation by returning HemfText$EmfExtTextOutA.scale At
HemfText.java:[line 215]
M D BC: Unchecked/unconfirmed cast from org.apache.poi.hwmf.draw.HwmfGraphics
to org.apache.poi.hemf.draw.HemfGraphics in
org.apache.poi.hemf.record.emfplus.HemfPlusObject$EmfPlusObject.applyObject(HwmfGraphics)
At HemfPlusObject.java:[line 217]
M V EI: org.apache.poi.hwmf.record.HwmfWindowing$WmfExcludeClipRect.getBounds()
may expose internal representation by returning
HwmfWindowing$WmfExcludeClipRect.bounds At HwmfWindowing.java:[line 534]
M V EI:
org.apache.poi.hemf.record.emfplus.HemfPlusMisc$EmfPlusSetWorldTransform.getMatrixData()
may expose internal representation by returning
HemfPlusMisc$EmfPlusSetWorldTransform.matrixData At HemfPlusMisc.java:[line
220]
M V EI: org.apache.poi.hslf.record.Comment2000.getComment2000Atom() may expose
internal representation by returning Comment2000.commentAtom At
Comment2000.java:[line 59]
M V EI: org.apache.poi.hemf.record.emf.HemfDraw$EmfPolyPolygon.getBounds() may
expose internal representation by returning HemfDraw$EmfPolyPolygon.bounds At
HemfDraw.java:[line 545]
M D DLS: Dead store to count in
org.apache.poi.hemf.record.emf.HemfDraw$EmfPolyPolygon.init(LittleEndianInputStream,
long, long) At HemfDraw.java:[line 499]
M D DLS: Dead store to CustomStartCapSize in
org.apache.poi.hemf.record.emfplus.HemfPlusPen$EmfPlusPen.initCustomCap(Consumer,
LittleEndianInputStream) At HemfPlusPen.java:[line 535]
M V EI:
org.apache.poi.hemf.record.emf.HemfMisc$EmfModifyWorldTransform.getXForm() may
expose internal representation by returning
HemfMisc$EmfModifyWorldTransform.xForm At HemfMisc.java:[line 843]
M V EI:
org.apache.poi.hwmf.record.HwmfMisc$WmfCreateBrushIndirect.getColorRef() may
expose internal representation by returning
HwmfMisc$WmfCreateBrushIndirect.colorRef At HwmfMisc.java:[line 842]
M V EI: org.apache.poi.hemf.record.emf.HemfDraw$EmfStrokePath.getBounds() may
expose internal representation by returning HemfDraw$EmfStrokePath.bounds At
HemfDraw.java:[line 1265]
M V EI: org.apache.poi.hemf.record.emf.HemfDraw$EmfPolyBezier.getBounds() may
expose internal representation by returning HemfDraw$EmfPolyBezier.bounds At
HemfDraw.java:[line 205]
M V EI: org.apache.poi.hwmf.record.HwmfDraw$WmfSetPixel.getPoint() may expose
internal representation by returning HwmfDraw$WmfSetPixel.point At
HwmfDraw.java:[line 541]
M V EI: org.apache.poi.hwmf.record.HwmfDraw$WmfSetPixel.getColorRef() may
expose internal representation by returning HwmfDraw$WmfSetPixel.colorRef At
HwmfDraw.java:[line 537]
M V EI: org.apache.poi.hsmf.extractor.OutlookTextExtractor.getMAPIMessage() may
expose internal representation by returning OutlookTextExtractor.msg At
OutlookTextExtractor.java:[line 82]
M V EI: org.apache.poi.hsmf.extractor.OutlookTextExtractor.getDocument() may
expose internal representation by returning OutlookTextExtractor.msg At
OutlookTextExtractor.java:[line 209]
M V EI2: new org.apache.poi.hsmf.extractor.OutlookTextExtractor(MAPIMessage)
may expose internal representation by storing an externally mutable object into
OutlookTextExtractor.msg At OutlookTextExtractor.java:[line 50]
M V EI: org.apache.poi.hsmf.extractor.OutlookTextExtractor.getFilesystem() may
expose internal representation by returning OutlookTextExtractor.msg At
OutlookTextExtractor.java:[line 224]
M V EI2: new
org.apache.poi.hwpf.converter.WordToHtmlConverter(HtmlDocumentFacade) may
expose internal representation by storing an externally mutable object into
WordToHtmlConverter.htmlDocumentFacade At WordToHtmlConverter.java:[line 104]
M V EI:
org.apache.poi.hemf.record.emf.HemfComment$EmfCommentDataMultiformats.getBounds()
may expose internal representation by returning
HemfComment$EmfCommentDataMultiformats.bounds At HemfComment.java:[line 476]
M V EI2: new org.apache.poi.hpbf.dev.PLCDumper(HPBFDocument) may expose
internal representation by storing an externally mutable object into
PLCDumper.doc At PLCDumper.java:[line 40]
M V EI: org.apache.poi.hwmf.record.HwmfText$WmfSetTextColor.getColorRef() may
expose internal representation by returning HwmfText$WmfSetTextColor.colorRef
At HwmfText.java:[line 134]
M V EI: org.apache.poi.hemf.record.emf.HemfDraw$EmfPolyDraw.getBounds() may
expose internal representation by returning HemfDraw$EmfPolyDraw.bounds At
HemfDraw.java:[line 1020]
M V EI: org.apache.poi.hslf.usermodel.HSLFTitleMaster.getTextParagraphs() may
expose internal representation by returning HSLFTitleMaster._paragraphs At
HSLFTitleMaster.java:[line 51]
M V EI: org.apache.poi.hemf.draw.HemfImageRenderer.getGenericRecord() may
expose internal representation by returning HemfImageRenderer.image At
HemfImageRenderer.java:[line 135]
M V EI: org.apache.poi.hwmf.record.HwmfWindowing$WmfScaleWindowExt.getScale()
may expose internal representation by returning
HwmfWindowing$WmfScaleWindowExt.scale At HwmfWindowing.java:[line 385]
M V EI2: new org.apache.poi.hslf.dev.SlideShowRecordDumper(PrintStream, String,
boolean, boolean) may expose internal representation by storing an externally
mutable object into SlideShowRecordDumper.ps At
SlideShowRecordDumper.java:[line 106]
M V EI: org.apache.poi.hwmf.record.HwmfDraw$WmfRoundRect.getCorners() may
expose internal representation by returning HwmfDraw$WmfRoundRect.corners At
HwmfDraw.java:[line 591]
M V EI: org.apache.poi.hwmf.record.HwmfDraw$WmfRoundRect.getBounds() may expose
internal representation by returning HwmfDraw$WmfRoundRect.bounds At
HwmfDraw.java:[line 595]
M V EI: org.apache.poi.hwmf.record.HwmfWindowing$WmfOffsetClipRgn.getOffset()
may expose internal representation by returning
HwmfWindowing$WmfOffsetClipRgn.offset At HwmfWindowing.java:[line 494]
M V EI:
org.apache.poi.hemf.record.emfplus.HemfPlusMisc$EmfPlusSetClipRect.getClipRect()
may expose internal representation by returning
HemfPlusMisc$EmfPlusSetClipRect.clipRect At HemfPlusMisc.java:[line 358]
M V EI: org.apache.poi.hwmf.record.HwmfWindowing$WmfOffsetWindowOrg.getOffset()
may expose internal representation by returning
HwmfWindowing$WmfOffsetWindowOrg.offset At HwmfWindowing.java:[line 325]
M V EI: org.apache.poi.hemf.record.emf.HemfFill$EmfInvertRgn.getBounds() may
expose internal representation by returning HemfFill$EmfInvertRgn.bounds At
HemfFill.java:[line 419]
M V EI: org.apache.poi.hemf.record.emf.HemfFill$EmfInvertRgn.getRgnRects() may
expose internal representation by returning HemfFill$EmfInvertRgn.rgnRects At
HemfFill.java:[line 423]
M D DLS: Dead store to rgnDataSize in
org.apache.poi.hemf.record.emf.HemfFill$EmfInvertRgn.init(LittleEndianInputStream,
long, long) At HemfFill.java:[line 408]
M V EI:
org.apache.poi.hemf.record.emfplus.HemfPlusDraw$EmfPlusFillRects.getRectData()
may expose internal representation by returning
HemfPlusDraw$EmfPlusFillRects.rectData At HemfPlusDraw.java:[line 320]
M V EI: org.apache.poi.hemf.record.emf.HemfFill$EmfStretchDiBits.getBounds()
may expose internal representation by returning
HemfFill$EmfStretchDiBits.bounds At HemfFill.java:[line 298]
M V EI: org.apache.poi.hwpf.extractor.Word6Extractor.getFilesystem() may expose
internal representation by returning Word6Extractor.doc At
Word6Extractor.java:[line 143]
M V EI: org.apache.poi.hwpf.extractor.Word6Extractor.getDocument() may expose
internal representation by returning Word6Extractor.doc At
Word6Extractor.java:[line 128]
M V EI2: new org.apache.poi.hwpf.extractor.Word6Extractor(HWPFOldDocument) may
expose internal representation by storing an externally mutable object into
Word6Extractor.doc At Word6Extractor.java:[line 76]
M V EI: org.apache.poi.hdgf.extractor.VisioTextExtractor.getFilesystem() may
expose internal representation by returning VisioTextExtractor.hdgf At
VisioTextExtractor.java:[line 138]
M V EI: org.apache.poi.hdgf.extractor.VisioTextExtractor.getDocument() may
expose internal representation by returning VisioTextExtractor.hdgf At
VisioTextExtractor.java:[line 123]
M V EI2: new org.apache.poi.hdgf.extractor.VisioTextExtractor(HDGFDiagram) may
expose internal representation by storing an externally mutable object into
VisioTextExtractor.hdgf At VisioTextExtractor.java:[line 45]
M V EI: org.apache.poi.hslf.usermodel.HSLFHyperlink.getInfo() may expose
internal representation by returning HSLFHyperlink.info At
HSLFHyperlink.java:[line 55]
M V EI: org.apache.poi.hslf.usermodel.HSLFHyperlink.getTextRunInfo() may expose
internal representation by returning HSLFHyperlink.txinfo At
HSLFHyperlink.java:[line 59]
M V EI: org.apache.poi.hslf.usermodel.HSLFHyperlink.getExHyperlink() may expose
internal representation by returning HSLFHyperlink.exHyper At
HSLFHyperlink.java:[line 51]
M V EI2: new org.apache.poi.hslf.usermodel.HSLFComment(Comment2000) may expose
internal representation by storing an externally mutable object into
HSLFComment._comment2000 At HSLFComment.java:[line 31]
M V EI2: new org.apache.poi.hslf.usermodel.HSLFSlide(Slide, HSLFNotes,
SlideListWithText$SlideAtomsSet, int, int) may expose internal representation
by storing an externally mutable object into HSLFSlide._notes At
HSLFSlide.java:[line 77]
M V EI2: org.apache.poi.hslf.usermodel.HSLFSlide.setNotes(Notes) may expose
internal representation by storing an externally mutable object into
HSLFSlide._notes At HSLFSlide.java:[line 128]
M V EI: org.apache.poi.hslf.usermodel.HSLFSlide.getTextParagraphs() may expose
internal representation by returning HSLFSlide._paragraphs At
HSLFSlide.java:[line 244]
M V EI: org.apache.poi.hslf.usermodel.HSLFSlide.getNotes() may expose internal
representation by returning HSLFSlide._notes At HSLFSlide.java:[line 116]
M V EI: org.apache.poi.hwmf.record.HwmfFill$WmfPatBlt.getBounds() may expose
internal representation by returning HwmfFill$WmfPatBlt.bounds At
HwmfFill.java:[line 449]
M V EI: org.apache.poi.hwmf.record.HwmfWindowing$WmfSetViewportOrg.getOrigin()
may expose internal representation by returning
HwmfWindowing$WmfSetViewportOrg.origin At HwmfWindowing.java:[line 83]
M V EI: org.apache.poi.hwmf.record.HwmfDraw$WmfArc.getEndPoint() may expose
internal representation by returning HwmfDraw$WmfArc.endPoint At
HwmfDraw.java:[line 696]
M V EI: org.apache.poi.hwmf.record.HwmfDraw$WmfArc.getStartPoint() may expose
internal representation by returning HwmfDraw$WmfArc.startPoint At
HwmfDraw.java:[line 692]
M V EI: org.apache.poi.hwmf.record.HwmfDraw$WmfArc.getBounds() may expose
internal representation by returning HwmfDraw$WmfArc.bounds At
HwmfDraw.java:[line 700]
M V EI:
org.apache.poi.hwmf.record.HwmfWindowing$WmfOffsetViewportOrg.getOffset() may
expose internal representation by returning
HwmfWindowing$WmfOffsetViewportOrg.offset At HwmfWindowing.java:[line 178]
M V EI: org.apache.poi.hemf.record.emf.HemfFill$EmfStretchBlt.getBounds() may
expose internal representation by returning HemfFill$EmfStretchBlt.bounds At
HemfFill.java:[line 203]
M V EI: org.apache.poi.hemf.record.emf.HemfFill$EmfStretchBlt.getXFormSrc() may
expose internal representation by returning HemfFill$EmfStretchBlt.xFormSrc At
HemfFill.java:[line 207]
M V EI: org.apache.poi.hemf.record.emf.HemfFill$EmfStretchBlt.getBkColorSrc()
may expose internal representation by returning
HemfFill$EmfStretchBlt.bkColorSrc At HemfFill.java:[line 211]
M V EI: org.apache.poi.hwmf.record.HwmfWindowing$WmfSetWindowOrg.getOrigin()
may expose internal representation by returning
HwmfWindowing$WmfSetWindowOrg.origin At HwmfWindowing.java:[line 228]
M V EI: org.apache.poi.hwmf.record.HwmfDraw$WmfEllipse.getBounds() may expose
internal representation by returning HwmfDraw$WmfEllipse.bounds At
HwmfDraw.java:[line 261]
M V EI: org.apache.poi.hwmf.record.HwmfDraw$WmfRectangle.getBounds() may expose
internal representation by returning HwmfDraw$WmfRectangle.bounds At
HwmfDraw.java:[line 498]
M V EI2: org.apache.poi.hwpf.model.types.LVLFAbstractType.setRgbxchNums(byte[])
may expose internal representation by storing an externally mutable object into
LVLFAbstractType.field_4_rgbxchNums At LVLFAbstractType.java:[line 258]
M V EI2: org.apache.poi.hwpf.model.types.LVLFAbstractType.setGrfhic(Grfhic) may
expose internal representation by storing an externally mutable object into
LVLFAbstractType.field_11_grfhic At LVLFAbstractType.java:[line 384]
M V EI: org.apache.poi.hwpf.model.types.LVLFAbstractType.getRgbxchNums() may
expose internal representation by returning LVLFAbstractType.field_4_rgbxchNums
At LVLFAbstractType.java:[line 249]
M V EI: org.apache.poi.hwpf.model.types.LVLFAbstractType.getGrfhic() may expose
internal representation by returning LVLFAbstractType.field_11_grfhic At
LVLFAbstractType.java:[line 375]
M V EI: org.apache.poi.hemf.record.emf.HemfMisc$EmfSetWorldTransform.getXForm()
may expose internal representation by returning
HemfMisc$EmfSetWorldTransform.xForm At HemfMisc.java:[line 771]
M V EI: org.apache.poi.hslf.usermodel.HSLFTextRun.createHyperlink() may expose
internal representation by returning HSLFTextRun.link At
HSLFTextRun.java:[line 492]
M V EI: org.apache.poi.hslf.usermodel.HSLFTextRun.getCharacterStyle() may
expose internal representation by returning HSLFTextRun.characterStyle At
HSLFTextRun.java:[line 75]
M V EI: org.apache.poi.hslf.usermodel.HSLFTextRun.getParagraph() may expose
internal representation by returning HSLFTextRun.parentParagraph At
HSLFTextRun.java:[line 530]
M V EI: org.apache.poi.hslf.usermodel.HSLFTextRun.getHyperlink() may expose
internal representation by returning HSLFTextRun.link At
HSLFTextRun.java:[line 483]
M V EI: org.apache.poi.hslf.usermodel.HSLFTextRun.getTextParagraph() may expose
internal representation by returning HSLFTextRun.parentParagraph At
HSLFTextRun.java:[line 449]
M V EI2: new org.apache.poi.hslf.usermodel.HSLFTextRun(HSLFTextParagraph) may
expose internal representation by storing an externally mutable object into
HSLFTextRun.parentParagraph At HSLFTextRun.java:[line 71]
M V EI:
org.apache.poi.hemf.record.emf.HemfFill$EmfExtSelectClipRgn.getRgnRects() may
expose internal representation by returning
HemfFill$EmfExtSelectClipRgn.rgnRects At HemfFill.java:[line 540]
M D DLS: Dead store to rgnDataSize in
org.apache.poi.hemf.record.emf.HemfFill$EmfExtSelectClipRgn.init(LittleEndianInputStream,
long, long) At HemfFill.java:[line 508]
M V EI: org.apache.poi.hwmf.record.HwmfFill$WmfDibStretchBlt.getSrcBounds() may
expose internal representation by returning HwmfFill$WmfDibStretchBlt.srcBounds
At HwmfFill.java:[line 945]
M V EI: org.apache.poi.hwmf.record.HwmfFill$WmfDibStretchBlt.getDstBounds() may
expose internal representation by returning HwmfFill$WmfDibStretchBlt.dstBounds
At HwmfFill.java:[line 949]
M V EI: org.apache.poi.hwmf.record.HwmfMisc$WmfSetBkColor.getColorRef() may
expose internal representation by returning HwmfMisc$WmfSetBkColor.colorRef At
HwmfMisc.java:[line 169]
M V EI:
org.apache.poi.hemf.record.emf.HemfComment$EmfCommentDataBeginGroup.getBounds()
may expose internal representation by returning
HemfComment$EmfCommentDataBeginGroup.bounds At HemfComment.java:[line 394]
M V EI2: new org.apache.poi.hsmf.dev.HSMFDump(POIFSFileSystem) may expose
internal representation by storing an externally mutable object into
HSMFDump.fs At HSMFDump.java:[line 38]
M V EI: org.apache.poi.hwmf.record.HwmfWindowing$WmfSetViewportExt.getExtents()
may expose internal representation by returning
HwmfWindowing$WmfSetViewportExt.extents At HwmfWindowing.java:[line 133]
M V EI2: new org.apache.poi.hwpf.dev.HWPFLister(HWPFDocumentCore) may expose
internal representation by storing an externally mutable object into
HWPFLister._doc At HWPFLister.java:[line 275]
M V EI: org.apache.poi.hemf.record.emf.HemfMisc$EmfSetBrushOrgEx.getOrigin()
may expose internal representation by returning
HemfMisc$EmfSetBrushOrgEx.origin At HemfMisc.java:[line 735]
M V EI: org.apache.poi.hwmf.record.HwmfDraw$WmfMoveTo.getPoint() may expose
internal representation by returning HwmfDraw$WmfMoveTo.point At
HwmfDraw.java:[line 79]
M C UwF: Unwritten field:
org.apache.poi.hwmf.record.HwmfMisc$WmfDibCreatePatternBrush.pattern16 At
HwmfMisc.java:[line 561]
M D UuF: Unused public or protected field:
org.apache.poi.hwmf.record.HwmfFont.pitch In HwmfFont.java
M D UuF: Unused public or protected field:
org.apache.poi.hwmf.record.HwmfFont.family In HwmfFont.java
M P UrF: Unread field:
org.apache.poi.hwmf.record.HwmfEscape$WmfEscapeUnknownData.escapeFunction At
HwmfEscape.java:[line 258]
M P SS: Unread field: org.apache.poi.hslf.dev.PPTXMLDump.hexHeader; should this
field be static? At PPTXMLDump.java:[line 52]
M P UrF: Unread field:
org.apache.poi.hemf.record.emfplus.HemfPlusObject$EmfPlusObject.objectId At
HemfPlusObject.java:[line 173]
M D UrF: Unread public/protected field:
org.apache.poi.hemf.record.emf.HemfMisc$EmfModifyWorldTransform.header At
HemfMisc.java:[line 806]
M P UrF: Unread field: org.apache.poi.hmef.HMEFMessage.fileId At
HMEFMessage.java:[line 69]
M V MS: org.apache.poi.hslf.usermodel.HSLFSimpleShape.ADJUST_VALUES should be
package protected At HSLFSimpleShape.java:[line 65]
M V MS: org.apache.poi.hwmf.usermodel.HwmfPicture.MAX_RECORD_LENGTH should be
package protected At HwmfPicture.java:[line 59]
SpotBugs ended with exit code 1
> Task :poi:sourcesJar
> Task :poi-scratchpad:compileTestJava
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-scratchpad\src\test\java\org\apache\poi\hslf\extractor\TestExtractor.java:498:
warning: [deprecation] getCodepoints(String,Boolean,Boolean) in
SlideShowExtractor has been deprecated
BitSet l1 = ppt.getCodepoints(font, null, null);
^
> Task :poi:forbiddenApisMain
> Task :poi:forbiddenApisTest FAILED
Forbidden method invocation:
java.lang.String#format(java.lang.String,java.lang.Object[]) [Uses default
locale]
in org.apache.poi.ss.formula.functions.TestRate (TestRate.java:111)
Scanned 637 class file(s) for forbidden API invocations (in 1.42s), 1 error(s).
> Task :poi-scratchpad:compileTestJava
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-scratchpad\src\test\java\org\apache\poi\hwpf\extractor\TestWordExtractor.java:190:
warning: [deprecation] getHeaderText() in WordExtractor has been deprecated
assertEquals("First header column!\tMid header Right header!\n",
extractor1.getHeaderText());
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-scratchpad\src\test\java\org\apache\poi\hwpf\extractor\TestWordExtractor.java:200:
warning: [deprecation] getHeaderText() in WordExtractor has been deprecated
assertEquals("This is a simple header, with a \u20ac euro symbol in
it.\n\n", extractor2.getHeaderText());
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-scratchpad\src\test\java\org\apache\poi\hwpf\extractor\TestWordExtractor.java:213:
warning: [deprecation] getFooterText() in WordExtractor has been deprecated
assertEquals("Footer Left\tFooter Middle Footer Right\n",
extractor1.getFooterText());
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-scratchpad\src\test\java\org\apache\poi\hwpf\extractor\TestWordExtractor.java:223:
warning: [deprecation] getFooterText() in WordExtractor has been deprecated
assertEquals("The footer, with Moli\u00e8re, has Unicode in it.\n",
extractor2.getFooterText());
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-scratchpad\src\test\java\org\apache\poi\hwpf\extractor\TestWordExtractorBugs.java:56:
warning: [deprecation] getParagraphText() in Word6Extractor has been deprecated
assertNotNull(extractor.getParagraphText());
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-scratchpad\src\test\java\org\apache\poi\hwpf\model\TestCHPBinTable.java:53:
warning: [deprecation] writeTo(HWPFFileSystem,int,CharIndexTranslator) in
CHPBinTable has been deprecated
_cHPBinTable.writeTo(fileSys, 0, fakeTPT);
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-scratchpad\src\test\java\org\apache\poi\hwpf\model\TestFontTable.java:47:
warning: [deprecation] writeTo(HWPFFileSystem) in FontTable has been deprecated
_fontTable.writeTo(fileSys);
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-scratchpad\src\test\java\org\apache\poi\hwpf\model\TestSectionTable.java:50:
warning: [deprecation] writeTo(HWPFFileSystem,int) in SectionTable has been
deprecated
sectionTable.writeTo(fileSys, 0);
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-scratchpad\src\test\java\org\apache\poi\hwpf\sprm\TestSprms.java:77:
warning: [deprecation] getParagraphStyle(int) in StyleSheet has been deprecated
assertEquals(1,
hwpfDocument.getStyleSheet().getParagraphStyle(8).getJustification());
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-scratchpad\src\test\java\org\apache\poi\hwpf\sprm\TestSprms.java:80:
warning: [deprecation] getParagraphStyle(int) in StyleSheet has been deprecated
assertEquals(1,
hwpfDocument2.getStyleSheet().getParagraphStyle(8).getJustification());
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-scratchpad\src\test\java\org\apache\poi\hwpf\usermodel\TestBug49820.java:64:
warning: [deprecation] getParagraphStyle(int) in StyleSheet has been deprecated
assertEquals(expectedStyleLvl,
styleSheet.getParagraphStyle(par.getStyleIndex()).getLvl());
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-scratchpad\src\test\java\org\apache\poi\hwpf\usermodel\TestHWPFOldDocument.java:186:
warning: [deprecation] getParagraphText() in Word6Extractor has been deprecated
for (String p : ex.getParagraphText()) {
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-scratchpad\src\test\java\org\apache\poi\hwpf\usermodel\TestHWPFOldDocument.java:203:
warning: [deprecation] getParagraphText() in Word6Extractor has been deprecated
for (String p : ex.getParagraphText()) {
^
F:\jenkins\jenkins-home\712657a4\workspace\POI\POI-DSL-Windows-1.17\poi-scratchpad\src\test\java\org\apache\poi\hwpf\usermodel\TestHWPFOldDocument.java:240:
warning: [deprecation] getParagraphText() in Word6Extractor has been deprecated
for (String p : ex.getParagraphText()) {
^
15 warnings
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':poi:forbiddenApisTest'.
> de.thetaphi.forbiddenapis.ForbiddenApiException: Check for forbidden API
> calls failed, see log.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with
Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings
and determine if they come from your own scripts or plugins.
See
https://docs.gradle.org/7.4.1/userguide/command_line_interface.html#sec:command_line_warnings
Execution optimizations have been disabled for 1 invalid unit(s) of work during
this build to ensure correctness.
Please consult deprecation warnings for more details.
BUILD FAILED in 4m 31s
47 actionable tasks: 47 executed
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
[SpotBugs] Skipping execution of recorder since overall result is 'FAILURE'
Archiving artifacts
Recording test results
ERROR: Step ‘Publish JUnit test result report’ failed: No test report files
were found. Configuration error?
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]