Skip to content

Commit b8e46e5

Browse files
author
Vladimir Kotal
committed
try suppress deprecated warning on class level
1 parent a76f145 commit b8e46e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

suggester/src/test/java/org/opengrok/suggest/SuggesterSearcherTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,14 @@
5252
import static org.hamcrest.MatcherAssert.assertThat;
5353
import static org.hamcrest.Matchers.contains;
5454

55+
@SuppressWarnings("deprecation") // for RAMDirectory
5556
public class SuggesterSearcherTest {
5657

5758
private static Directory dir;
5859

5960
private static SuggesterSearcher searcher;
6061

6162
@BeforeClass
62-
@SuppressWarnings("deprecation") // for RAMDirectory
6363
public static void setUpClass() throws IOException {
6464
dir = new RAMDirectory();
6565

0 commit comments

Comments
 (0)