davidson-consulting / diff-jjoules

diff-jjoules is a tool to run in your continuous integration to measure the impact of commits on the energy consumption of the program :seedling:
GNU General Public License v3.0
4 stars 5 forks source link

fix: bugs report in DiffJJoulesStep class #31

Closed dendritett closed 2 years ago

dendritett commented 2 years ago

Fixing bugs reported by Sonar #27 ・Use try-with-resources or close this "Git" in a "finally" clause.

I created a test that only passes the target method. If there are any problems, please point them out.