Originally posted by Valeri Mikhailov:
Can I change the signature of lock(int recordNumber) to lock(String flightNumber)?
You can, but would it be a good idea? It reads as if you're turning a perfectly generic, fully reusable class into something application-specific. Surely that's the wrong direction altogether?
- Peter