srowen commented on a change in pull request #23571: 
[SPARK-26640][CORE][ML][SQL][STREAMING][PYSPARK] Code cleanup from lgtm.com 
analysis
URL: https://github.com/apache/spark/pull/23571#discussion_r248520198
 
 

 ##########
 File path: core/src/main/resources/org/apache/spark/ui/static/executorspage.js
 ##########
 @@ -505,7 +504,7 @@ $(document).ready(function () {
                         {data: 'allTotalTasks'},
                         {
                             data: function (row, type) {
-                                return type === 'display' ? 
(formatDuration(row.allTotalDuration, type) + ' (' + 
formatDuration(row.allTotalGCTime, type) + ')') : row.allTotalDuration
+                                return type === 'display' ? 
(formatDuration(row.allTotalDuration) + ' (' + 
formatDuration(row.allTotalGCTime) + ')') : row.allTotalDuration
 
 Review comment:
   Unused JS function args

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to