GitHub user mgaido91 opened a pull request: https://github.com/apache/spark/pull/20663
[SPARK-23475][UI][FOLLOWUP] Refactor AllStagesPage in order to avoid redundant code ## What changes were proposed in this pull request? As suggested in #20651, the code is very redundant in `AllStagesPage` and modifying it is a copy-and-paste work. We should avoid such a pattern, which is error prone, and have a cleaner solution which avoids code redundancy. ## How was this patch tested? existing UTs You can merge this pull request into a Git repository by running: $ git pull https://github.com/mgaido91/spark SPARK-23475_followup Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/20663.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #20663 ---- commit d246df283e9a900cf114fcdf0eee2951b1bd3713 Author: Marco Gaido <marcogaido91@...> Date: 2018-02-23T11:01:05Z [SPARK-23475][UI][FOLLOWUP] Refactor AllStagesPage in order to avoid redundant code ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org