Purely for the reason of reducing confusion, it might simply be better to split it into 2 methods: boolean isShutdownOK(); // not great, but canShutdown() isn't much better void shutdown();
Simple, obvious, and hard to get wrong. > I think the method signatures as currently defined are OK. They > parallel (somewhat) the applet lifecycle methods. My question to you > all was - should the return value of shutdown() mean "approve" or > "deny"? It is currently defined as "approve", but I'm leaning towards > changing it to the latter. > > >
