package org.jenkinsci.plugins.workflow.pipelinegraphanalysis;

public class TimingInfo {
    private long totalDurationMillis;
    private long pauseDurationMillis;

    public TimingInfo() {
        this.totalDurationMillis = 0;
        this.pauseDurationMillis = 0;
    }

    public TimingInfo(long totalDurationMillis, long pauseDurationMillis) {
        this.totalDurationMillis = totalDurationMillis;
        this.pauseDurationMillis = pauseDurationMillis;
    }

    public long getTotalDurationMillis() {
        return totalDurationMillis;
    }

    public void setTotalDurationMillis(long totalDurationMillis) {
        this.totalDurationMillis = totalDurationMillis;
    }

    public long getPauseDurationMillis() {
        return pauseDurationMillis;
    }

    public void setPauseDurationMillis(long pauseDurationMillis) {
        this.pauseDurationMillis = pauseDurationMillis;
    }

    @Override
    public boolean equals(Object o) {
        if (o == null || !(o instanceof TimingInfo)) {
            return false;
        } else if (this == o) {
            return true;
        }
        TimingInfo ti = (TimingInfo) o;
        return this.pauseDurationMillis == ti.pauseDurationMillis && this.totalDurationMillis == ti.totalDurationMillis;
    }

    @Override
    public int hashCode() {
        long mixed = (~pauseDurationMillis) ^ totalDurationMillis;  // Bitwise invert because both are often equal
        return (int) (mixed ^ (mixed >>> 32));
    }
}

@@ -163,117 +163,8 @@
 s;%0A%0A
-    public TimingInfo() %7B%0A        this.totalDurationMillis = 0;%0A        this.pauseDurationMillis = 0;%0A    %7D%0A%0A
     
@@ -788,586 +788,7 @@
    %7D
-%0A%0A    @Override%0A    public boolean equals(Object o) %7B%0A        if (o == null %7C%7C !(o instanceof TimingInfo)) %7B%0A            return false;%0A        %7D else if (this == o) %7B%0A            return true;%0A        %7D%0A        TimingInfo ti = (TimingInfo) o;%0A        return this.pauseDurationMillis == ti.pauseDurationMillis && this.totalDurationMillis == ti.totalDurationMillis;%0A    %7D%0A%0A    @Override%0A    public int hashCode() %7B%0A        long mixed = (~pauseDurationMillis) %5E totalDurationMillis;  // Bitwise invert because both are often equal%0A        return (int) (mixed %5E (mixed %3E%3E%3E 32));%0A    %7D
 %0A%7D%0A

Remove unused bits in TimingInfo