Verified Commit 8222d87f authored by Lukas Wiest's avatar Lukas Wiest 🚂
Browse files

refactor(util/ticketing): only use result name for hash

parent 9df50c2b
......@@ -151,9 +151,7 @@ public class UnifiedTicketingUtil {
throw new UnifiedticketingException(e);
}
byte[] data = digest.digest(String
.join(result.name, result.failureReason)
.getBytes(StandardCharsets.UTF_8));
byte[] data = digest.digest(result.name.getBytes(StandardCharsets.UTF_8));
StringBuilder hexString = new StringBuilder(2 * data.length);
for (byte character: data)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment