Skip to content

Commit

Permalink
Removing banned method
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Farley <[email protected]>
  • Loading branch information
adamfarley committed Nov 4, 2024
1 parent 7e33cad commit f8dc66a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/nightly_build_and_test_stats.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ def getReproducibilityPercentage(String jdkVersion, String trssId, String trssUR
overallAverage = overallAverage / (results[jdkVersion][1].size() - naCount)
}
// This reduces the output to 2 decimal places.
results[jdkVersion][0] = ((overallAverage.stripTrailingZeros().toString() + "00") =~ /[0-9]+\.?[0-9]?[0-9]?/)[0]+" %"
results[jdkVersion][0] = ((overallAverage.toString()) =~ /[0-9]+\.?[0-9]?[0-9]?/)[0]+" %"
}
}

Expand Down

0 comments on commit f8dc66a

Please sign in to comment.