Re: Question about Java style

2016-03-12 Thread Mark Murphy
Just a switch with an enum, I will put it in. On Sat, Mar 12, 2016 at 2:08 PM, Nick Burch wrote: > On Sat, 12 Mar 2016, Mark Murphy wrote: > >> My new class org.apache.poi.ss.util.CellBorders has some private methods >> that respond to a subset of enum values being passed in. If the methods >> w

Re: Question about Java style

2016-03-12 Thread Nick Burch
On Sat, 12 Mar 2016, Mark Murphy wrote: My new class org.apache.poi.ss.util.CellBorders has some private methods that respond to a subset of enum values being passed in. If the methods were private, I would throw an exception if an invalid enum value was passed, but since the methods are private,