Skip to content

Commit 8b778de

Browse files
author
alxkm
committed
fix: Useless parentheses
1 parent ebbb8a6 commit 8b778de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ private static char convertToChar(int value) {
6363
if (value >= 0 && value <= 9) {
6464
return (char) (ZERO_CHAR + value);
6565
} else {
66-
return (char) (A_CHAR + (value - DIGIT_OFFSET));
66+
return (char) (A_CHAR + value - DIGIT_OFFSET);
6767
}
6868
}
6969
}

0 commit comments

Comments
 (0)