src/share/classes/com/sun/security/sasl/digest/DigestMD5Base.java

Print this page
rev 10203 : 8048874: Replace uses of 'new Byte', 'new Short' and 'new Character' with appropriate alternative across core classes
Reviewed-by: chegar, prappo
Contributed-by: Otavio Santana <otaviojava@java.net>

*** 1458,1468 **** if (msgLength < 0) { // Discard message and do not increment sequence number if (logger.isLoggable(Level.INFO)) { logger.log(Level.INFO, "DIGEST39:Incorrect padding: {0}", ! new Byte(msgWithPadding[msgWithPadding.length - 1])); } return EMPTY_BYTE_ARRAY; } } --- 1458,1468 ---- if (msgLength < 0) { // Discard message and do not increment sequence number if (logger.isLoggable(Level.INFO)) { logger.log(Level.INFO, "DIGEST39:Incorrect padding: {0}", ! msgWithPadding[msgWithPadding.length - 1]); } return EMPTY_BYTE_ARRAY; } }