Skip to content

Commit efa5305

Browse files
committed
Fix
1 parent dbdfd96 commit efa5305

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/thealgorithms/conversions/HexaDecimalToBinary.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ public String convert(String numHex) {
5151
* @return the padded binary string with a minimum length of 8
5252
*/
5353
public String completeDigits(String binNum) {
54-
final int BYTE_SIZE = 8;
55-
while (binNum.length() < BYTE_SIZE) {
54+
final int BYTESIZE = 8;
55+
while (binNum.length() < BYTESIZE) {
5656
binNum = "0" + binNum;
5757
}
5858
return binNum;

0 commit comments

Comments
 (0)