Deleting a branch is permanent. There is no way to undo it.
- This operation CANNOT be undone.- This operation will permanently delete everything in branch wtsimkins/ZCW-Lab-Fundamental-Methods:master.
wtsimkins/ZCW-Lab-Fundamental-Methods:master
kohteeseen master
Deleting a branch is permanent. There is no way to undo it.
- This operation CANNOT be undone.
Predicate
For the predicate, the comparison sign returns a boolean. So you don't have to do the if statement. You can say
String
You don't need to convert the integer to string. Java will do that for you.
getSuffix
, you can inline it into one statement.If you don't inline it, be more descriptive with your variable name.
compareTwoStrings
,getFirstWord
,getSecondWord
, if you don't need to use the variable, you don't have to create one. So instead ofYou can write it as
getMiddleCharacter
this should not pass all the test.Please clean up the string and predicate lab and send me a message on slack when you're done.