diff options
author | Zheng RuiFeng <ruifengz@foxmail.com> | 2016-03-18 12:34:14 +0000 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2016-03-18 12:34:14 +0000 |
commit | 53f32a22daa40b713fef477054290d8adbeb6f71 (patch) | |
tree | ecb703f194a139d798b937d6e62b16d8530e0207 /docs | |
parent | 0f1015ffdd40cd8647f6acdd5cdd717b883e4875 (diff) | |
download | spark-53f32a22daa40b713fef477054290d8adbeb6f71.tar.gz spark-53f32a22daa40b713fef477054290d8adbeb6f71.tar.bz2 spark-53f32a22daa40b713fef477054290d8adbeb6f71.zip |
[MINOR][DOC] Fix nits in JavaStreamingTestExample
## What changes were proposed in this pull request?
Fix some nits discussed in https://github.com/apache/spark/pull/11776#issuecomment-198207419
use !rdd.isEmpty instead of rdd.count > 0
use static instead of AtomicInteger
remove unneeded "throws Exception"
## How was this patch tested?
manual tests
Author: Zheng RuiFeng <ruifengz@foxmail.com>
Closes #11821 from zhengruifeng/je_fix.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions