Latest commit
e26dac5
Jul 18, 2017
## What changes were proposed in this pull request? Address scapegoat warnings for: - BigDecimal double constructor - Catching NPE - Finalizer without super - List.size is O(n) - Prefer Seq.empty - Prefer Set.empty - reverse.map instead of reverseMap - Type shadowing - Unnecessary if condition. - Use .log1p - Var could be val In some instances like Seq.empty, I avoided making the change even where valid in test code to keep the scope of the change smaller. Those issues are concerned with performance and it won't matter for tests. ## How was this patch tested? Existing tests Author: Sean Owen <sowen@cloudera.com> Closes #18635 from srowen/Scapegoat1.
Permalink
| .. | |||
| Failed to load latest commit information. | |||
|
|
graphx |
|
|
|
|
ml |
|
|
|
|
mllib |
|
|
|
|
pythonconverters |
|
|
|
|
sql |
|
|
|
|
streaming |
|
|
|
|
BroadcastTest.scala |
|
|
|
|
DFSReadWriteTest.scala |
|
|
|
|
DriverSubmissionTest.scala |
|
|
|
|
ExceptionHandlingTest.scala |
|
|
|
|
GroupByTest.scala |
|
|
|
|
HdfsTest.scala |
|
|
|
|
LocalALS.scala |
|
|
|
|
LocalFileLR.scala |
|
|
|
|
LocalKMeans.scala |
|
|
|
|
LocalLR.scala |
|
|
|
|
LocalPi.scala |
|
|
|
|
LogQuery.scala |
|
|
|
|
MultiBroadcastTest.scala |
|
|
|
|
SimpleSkewedGroupByTest.scala |
|
|
|
|
SkewedGroupByTest.scala |
|
|
|
|
SparkALS.scala |
|
|
|
|
SparkHdfsLR.scala |
|
|
|
|
SparkKMeans.scala |
|
|
|
|
SparkLR.scala |
|
|
|
|
SparkPageRank.scala |
|
|
|
|
SparkPi.scala |
|
|
|
|
SparkTC.scala |
|
|