Clean up toString() method

This commit is contained in:
Paul Schaub 2022-11-07 16:21:01 +01:00
parent 9ea9cd22b8
commit dad75bb522
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -75,6 +75,6 @@ public class SessionKey {
@Override
public String toString() {
return "" + (int) getAlgorithm() + ':' + HexUtil.bytesToHex(sessionKey);
return Integer.toString(getAlgorithm()) + ':' + HexUtil.bytesToHex(sessionKey);
}
}