Created
October 19, 2016 03:10
-
-
Save renaro/4d70aea5c15fc0322b894f989efbff29 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public boolean scheduleRomanticDinner(String name1, String name2, int table, Date time){ | |
boolean isTableAvailable = isTableAvailableAtTime(table, time); | |
if(isTableAvailable){ | |
server.confirmSchedule(name1, name2, table, time); | |
} else { | |
//whatever | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment