https://bz.apache.org/bugzilla/show_bug.cgi?id=60985

--- Comment #7 from Nick Burch <[email protected]> ---
On HSSFWorkbook, getSheet(String name) returns null, and requires callers to
check that and create a missing sheet if needed. Same with getName(String name)

On HSSFSheet, getRow(int idx) can return null if none is defined at that index,
and requires callers to check that and create a missing row if needed

So, based on that existing pattern, I'd have getPrintSetup() return null if
required, and add a create method

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to