-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update for the DB service implementation and repository #40
base: master
Are you sure you want to change the base?
Conversation
System.out.println("Find by accidentId=" + accident); | ||
return accident; | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@oceanhhy try to use java8 code in filtering as we did in 1st homework, It will be more interesting to see. This code is also fine. 👍
@oceanhhy |
timeOfDay = "AFTERNOON"; | ||
else if(hour < 24) | ||
else if (hour < 24) | ||
timeOfDay = "EVENING"; | ||
else | ||
timeOfDay = "INVALIDTIME"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@oceanhhy on place of using many if else, you could try some enum.
@oceanhhy you are making good progress, Keep it up 👍 |
No description provided.