mirror of https://github.com/apache/cloudstack.git
findbugs: byte[].toString -> Arrays.toString(byte[])(cherry picked from commit 23a3d99fc0)
Signed-off-by: Daan Hoogland <dhoogland@schubergphilis.com>
This commit is contained in:
parent
44bc2beb14
commit
a16759a9b1
|
|
@ -17,6 +17,7 @@
|
|||
package com.cloud.consoleproxy;
|
||||
|
||||
import java.nio.charset.Charset;
|
||||
import java.util.Arrays;
|
||||
import java.util.Date;
|
||||
import java.util.HashMap;
|
||||
import java.util.Iterator;
|
||||
|
|
@ -483,7 +484,7 @@ public class ConsoleProxyManagerImpl extends ManagerBase implements ConsoleProxy
|
|||
byte[] details = proxy.getSessionDetails();
|
||||
status = gson.fromJson(details != null ? new String(details, Charset.forName("US-ASCII")) : null, ConsoleProxyStatus.class);
|
||||
} catch (Throwable e) {
|
||||
s_logger.warn("Unable to parse proxy session details : " + proxy.getSessionDetails());
|
||||
s_logger.warn("Unable to parse proxy session details : " + Arrays.toString(proxy.getSessionDetails()));
|
||||
}
|
||||
|
||||
if (status != null && status.getConnections() != null) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue