"to search the data for all records, or for records where the name and/or location fields exactly match values specified by the user"
and "the search mechanism should be flexible..."
is that you had a LockManager class which had a collection for holding the locks and cookies?
1. DB Interface: have you extended DB interface to provide getSchema/getMetaData method for the client or did you hard coded length of field and so on on the client?
2. if 1. is Yes, have provided appropriate search methods(with exact search instead of prefix one) on the server or have done it client?
3. Have handled booking only in last 48 hours ... If yes on client or server and how?
But, the problem with Vlad point is that the compiler would have to examine your code, and know that you're only doing 3 bytes. Since it can't reasonably be expected to do this, then it has adhere to the specification. That doesn't mean that all methods always do so, but it's important to be clear that the method can't pick and choose when to adhere to spec and when not to.
But, the problem with Vlad point is that the compiler would have to examine your code, and know that you're only doing 3 bytes. Since it can't reasonably be expected to do this, then it has adhere to the specification. That doesn't mean that all methods always do so, but it's important to be clear that the method can't pick and choose when to adhere to spec and when not to.