Add curly braces to the if statement to pass checkstyle, although it's not necessary.
What changes were proposed in this pull request?
-
Add curly braces to the if statement to pass checkstyle, although it's not necessary.
-
Add space after token if.
PS:This PR can be cherry-picked to spark30 branch.
Why are the changes needed?
In order to modify the code specification and pass the checkstyle.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Test is not needed.
@hiboyang @mabansal @vectorijk Can one of the admins verify this patch?
Please confirm whether it is necessary to merge, thx.
Build Failed. The log is as follows:
It doesn't look like a problem with the project? @vectorijk
BTW: How to trigger rebuild by using Travis Ci ?
Hi~ @vectorijk @mabansal @hiboyang
Sorry to bother you,I found that the reason for Travis CI failure is that the external pull request cannot use the environment variable $ export FOSSA_API_KEY=[secure], see here.
So I wonder:
-
How to deal with this situation?
-
Does this project accept the PR from external contributors?