Skip to content

Commit 5c17fa1

Browse files
author
alxkm
committed
refactor: fix typo
1 parent 74b05ef commit 5c17fa1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/com/thealgorithms/maths/TwinPrime.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ private TwinPrime() {
1616
/**
1717
* This method returns twin prime of the integer value passed as argument
1818
*
19-
* @param input_number Integer value of which twin prime is to be found
19+
* @param inputNumber Integer value of which twin prime is to be found
2020
* @return (number + 2) if number and (number + 2) are prime, -1 otherwise
2121
*/
2222
static int getTwinPrime(int inputNumber) {

src/main/java/com/thealgorithms/strings/StringCompression.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ private StringCompression() {
1010
/**
1111
* Returns the compressed or encoded string
1212
*
13-
* @param ch character array that contains the group of characters to be encoded
13+
* @param input character array that contains the group of characters to be encoded
1414
* @return the compressed character array as string
1515
*/
1616
public static String compress(String input) {

0 commit comments

Comments
 (0)