Skip to content

Commit e9550cf

Browse files
fixed checkstyle violation by removing redundant public modifier
1 parent f3ce817 commit e9550cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/thealgorithms/misc/PalindromeSinglyLinkedList.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public static boolean isPalindromeOptimised(Node head) {
6868
static class Node {
6969
int val;
7070
Node next;
71-
public Node(int val) {
71+
Node(int val) {
7272
this.val = val;
7373
this.next = null;
7474
}

0 commit comments

Comments
 (0)