### What changes were proposed in this pull request? 1. Use `<arg>-Ywarn-unused-import</arg>` to remove some unused imports There is no way to use `<arg>-Ywarn-unused-import</arg>` at this stage Because we have the following code ``` // Can Remove this if celeborn don't support scala211 in future import org.apache.celeborn.common.util.FunctionConverter._ ``` 2. Fix scala case match not fully covered, avoid `scala.MatchError` 3. Fixed some scala compilation warnings ### Why are the changes needed? ### Does this PR introduce _any_ user-facing change? ### How was this patch tested? Closes #1600 from cxzl25/cleanup_code. Authored-by: sychen <sychen@ctrip.com> Signed-off-by: zky.zhoukeyong <zky.zhoukeyong@alibaba-inc.com> |
||
|---|---|---|
| .. | ||
| src | ||
| pom.xml | ||