refactor: fix typo (#5363)
This commit is contained in:
parent
56f97c48ac
commit
fb55552ebb
@ -16,7 +16,7 @@ public final class TwinPrime {
|
||||
/**
|
||||
* This method returns twin prime of the integer value passed as argument
|
||||
*
|
||||
* @param input_number Integer value of which twin prime is to be found
|
||||
* @param inputNumber Integer value of which twin prime is to be found
|
||||
* @return (number + 2) if number and (number + 2) are prime, -1 otherwise
|
||||
*/
|
||||
static int getTwinPrime(int inputNumber) {
|
||||
|
@ -10,7 +10,7 @@ public final class StringCompression {
|
||||
/**
|
||||
* Returns the compressed or encoded string
|
||||
*
|
||||
* @param ch character array that contains the group of characters to be encoded
|
||||
* @param input character array that contains the group of characters to be encoded
|
||||
* @return the compressed character array as string
|
||||
*/
|
||||
public static String compress(String input) {
|
||||
|
Loading…
Reference in New Issue
Block a user