Skip to content

Commit eb28dd5

Browse files
JJ27actions-user
authored andcommitted
Bot: Prettified Java code!
1 parent b836c44 commit eb28dd5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/com/codefortomorrow/advanced/chapter13/solutions/PrimePractice.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ public static void main(String[] args) {
3434
}
3535

3636
/**
37-
* isPrime checks the primality of a given integer
38-
* @param n The integer to check
39-
* @param z Current Divisor(used for recursion)
40-
* @return boolean true if prime and false if not
41-
*/
37+
* isPrime checks the primality of a given integer
38+
* @param n The integer to check
39+
* @param z Current Divisor(used for recursion)
40+
* @return boolean true if prime and false if not
41+
*/
4242
public static boolean isPrime(int n, int z) {
4343
//Check base cases
4444
if (n <= 2) return (n == 2) ? true : false;

0 commit comments

Comments
 (0)