Skip to content
Snippets Groups Projects
Commit f16c21e2 authored by Reynold Xin's avatar Reynold Xin
Browse files

Merge pull request #490 from hsaputra/modify_checkoption_with_isdefined

Replace the check for None Option with isDefined and isEmpty in Scala code

Propose to replace the Scala check for Option "!= None" with Option.isDefined and "=== None" with Option.isEmpty.

I think this, using method call if possible then operator function plus argument, will make the Scala code easier to read and understand.

Pass compile and tests.
parents f67ce3e2 90ea9d5a
No related branches found
No related tags found
No related merge requests found
Showing
with 84 additions and 84 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment