Anomaly identified by the detector. Please review whether this anomaly corresponds to a misuse.
Finding:
17
In File:
sos/util/Hex.java
In Method:
bytesToASCIIString(byte[])
Code with Finding:
class Hex {
public static String bytesToASCIIString(byte[] data) {
String result = "";
for (int i = 0; i < data.length; i++) {
char c = (char)data[i];
result += Character.toString(PRINTABLE.indexOf(c) >= 0 ? c : '.');
}
return result;
}
}