style: enable RedundantModifier in checkstyle (#5140)

This commit is contained in:
Piotr Idzik
2024-05-03 21:10:49 +02:00
committed by GitHub
parent 1e2d7e9431
commit b3903f5768
38 changed files with 59 additions and 59 deletions

View File

@ -33,7 +33,7 @@ class Node {
public int data;
public Node next;
public Node(int data) {
Node(int data) {
this.data = data;
this.next = null;
}
@ -60,7 +60,7 @@ class LinkedListStack {
/**
* Init properties
*/
public LinkedListStack() {
LinkedListStack() {
head = null;
size = 0;
}