refactor: fix typo (#5363)

This commit is contained in:
Alex Klymenko 2024-08-23 09:58:08 +02:00 committed by GitHub
parent 56f97c48ac
commit fb55552ebb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ public final class TwinPrime {
/** /**
* This method returns twin prime of the integer value passed as argument * 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 * @return (number + 2) if number and (number + 2) are prime, -1 otherwise
*/ */
static int getTwinPrime(int inputNumber) { static int getTwinPrime(int inputNumber) {

View File

@ -10,7 +10,7 @@ public final class StringCompression {
/** /**
* Returns the compressed or encoded string * 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 * @return the compressed character array as string
*/ */
public static String compress(String input) { public static String compress(String input) {