TruTruMaster commented on PR #1602:
URL: https://github.com/apache/poi/pull/1602#issuecomment-7240476284

   Thanks for the review. Both are in 09191a0:
   
   1. The loop is now above `createSheet(newName)`.
   2. Two more tests, `testCloneSheetWithLoadedHyperlinkAddedAgain` (removed 
and added again on the same sheet) and 
`testCloneSheetWithLoadedHyperlinkMovedFromAnotherSheet` (moved from another 
sheet), clone without writing first and check both sheets after a write and 
read back. On trunk all three clone tests fail with "references relation rId1, 
but that didn't exist!". With the change all 2359 `org.apache.poi.xssf` tests 
pass.
   
   On your second point (one `XSSFHyperlink` object added to two sheets): I 
left that alone, since `generateRelationIfNeeded` keeps the relationship on the 
sheet that owns it and that case isn't new.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to