Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Dockerized Testing Toolkit
DTT Backend
Commits
8222d87f
Verified
Commit
8222d87f
authored
Dec 23, 2020
by
Lukas Wiest
🚂
Browse files
refactor(util/ticketing): only use result name for hash
parent
9df50c2b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/de/hftstuttgart/utils/UnifiedTicketingUtil.java
View file @
8222d87f
...
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment