rafaelweingartner commented on a change in pull request #2412: CLOUDSTACK-9677:
Adding storage policy support for swift as secondary?
URL: https://github.com/apache/cloudstack/pull/2412#discussion_r164267865
##########
File path: utils/src/main/java/com/cloud/utils/SwiftUtil.java
##########
@@ -294,12 +238,80 @@ public static String calculateRFC2104HMAC(String data,
String key)
}
- public static String toHexString(byte[] bytes) {
+ static String toHexString(byte[] bytes) {
Review comment:
What about using a commons to convert the string to Hexadecimal?
Something like: org.apache.commons.codec.binary.Hex.encode(byte[])
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services