Skip to content

Commit 32b1243

Browse files
committed
style: remove logging messages
1 parent 00d54bd commit 32b1243

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/main/java/com/thealgorithms/others/cn/HammingDistance.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,6 @@ public static int compute(String bitsStrA, String bitsStrB) {
3030
totalErrorBitCount += compute(bitsStrA.charAt(i), bitsStrB.charAt(i));
3131
}
3232

33-
if (totalErrorBitCount == 0) {
34-
System.out.println("No Error bit in data segments");
35-
} else {
36-
System.out.println("Total Error bit count " + totalErrorBitCount);
37-
}
3833
return totalErrorBitCount;
3934
}
4035
}

0 commit comments

Comments
 (0)