Skip to content

Commit 07022c4

Browse files
committed
Fix Checkstyle and rename test class to PowerOfFourTest
1 parent 99f371b commit 07022c4

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/main/java/com/thealgorithms/bitmanipulation/PowerOfFour.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
*/
66
public final class PowerOfFour {
77

8-
// Private constructor to prevent instantiation
8+
/** Private constructor to prevent instantiation. */
99
private PowerOfFour() {
10-
throw new AssertionError("Cannot instantiate utility class");
10+
throw new AssertionError("Cannot instantiate utility class.");
1111
}
1212

1313
/**

src/test/java/com/thealgorithms/bitmanipulation/PowerOfFourTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import org.junit.jupiter.api.Test;
55

66
/**
7-
* Unit tests for PowerOfFour class.
7+
* Unit tests for {@link PowerOfFour}.
88
*/
99
public final class PowerOfFourTest {
1010

@@ -30,4 +30,3 @@ void testNegativeNumbers() {
3030
Assertions.assertFalse(PowerOfFour.isPowerOfFour(-16));
3131
}
3232
}
33-

0 commit comments

Comments
 (0)