Skip to content

Commit 7816283

Browse files
committed
remove unnecessary public
1 parent eecd4f6 commit 7816283

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

opengrok-web/src/test/java/org/opengrok/web/api/v1/controller/HistoryControllerTest.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
*/
1919

2020
/*
21+
* Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
2122
* Portions Copyright (c) 2020, Chris Fraire <[email protected]>.
2223
*/
2324
package org.opengrok.web.api.v1.controller;
@@ -49,7 +50,7 @@
4950
import static org.junit.jupiter.api.Assertions.assertNotEquals;
5051
import static org.opengrok.web.api.v1.controller.HistoryController.getHistoryDTO;
5152

52-
public class HistoryControllerTest extends OGKJerseyTest {
53+
class HistoryControllerTest extends OGKJerseyTest {
5354

5455
private final RuntimeEnvironment env = RuntimeEnvironment.getInstance();
5556

@@ -96,7 +97,7 @@ public void tearDown() throws Exception {
9697
}
9798

9899
@Test
99-
public void testHistoryDTOEquals() {
100+
void testHistoryDTOEquals() {
100101
HistoryEntry historyEntry = new HistoryEntry(
101102
"1",
102103
new Date(1245446973L / 60 * 60 * 1000),
@@ -117,7 +118,7 @@ public void testHistoryDTOEquals() {
117118
}
118119

119120
@Test
120-
public void testHistoryGet() throws Exception {
121+
void testHistoryGet() throws Exception {
121122
final String path = "git";
122123
int size = 5;
123124
int start = 2;

0 commit comments

Comments
 (0)