File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed
internal-api/src/main/java/datadog/trace/api/civisibility/config Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -94,16 +94,17 @@ public boolean equals(Object o) {
9494
9595 @ Override
9696 public int hashCode () {
97- return HashingUtils .hash (
98- osPlatform ,
99- osArchitecture ,
100- osVersion ,
101- runtimeName ,
102- runtimeVersion ,
103- runtimeVendor ,
104- runtimeArchitecture ,
105- testBundle ,
106- custom );
97+ int hash = 0 ;
98+ hash = HashingUtils .addToHash (hash , osPlatform );
99+ hash = HashingUtils .addToHash (hash , osArchitecture );
100+ hash = HashingUtils .addToHash (hash , osVersion );
101+ hash = HashingUtils .addToHash (hash , runtimeName );
102+ hash = HashingUtils .addToHash (hash , runtimeVersion );
103+ hash = HashingUtils .addToHash (hash , runtimeVendor );
104+ hash = HashingUtils .addToHash (hash , runtimeArchitecture );
105+ hash = HashingUtils .addToHash (hash , testBundle );
106+ hash = HashingUtils .addToHash (hash , custom );
107+ return hash ;
107108 }
108109
109110 @ Override
You can’t perform that action at this time.
0 commit comments