Skip to content
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

Typo in Lab3 code #1

Open
davidhcefx opened this issue Mar 29, 2020 · 0 comments
Open

Typo in Lab3 code #1

davidhcefx opened this issue Mar 29, 2020 · 0 comments

Comments

@davidhcefx
Copy link

davidhcefx commented Mar 29, 2020

public String donate(paypalService Paypal){
String donateResult = Paypal.doDonate();
if (donateResult.equals("successed") || donateResult.equals("succeed")){
return "Thanks you";
}else {
return "Some Bug occur";
}
}
}

should be "Some bug occurred" and "Thank you" instead. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant