Skip to content

Commit

Permalink
avoid using jdk.compiler module stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
kermitt2 committed Sep 8, 2024
1 parent 65a8e4c commit ad0dd9b
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package org.pub2tei.document;

import com.sun.tools.javac.util.List;
import org.grobid.core.main.GrobidHomeFinder;
import org.grobid.core.utilities.GrobidProperties;
import org.junit.Before;
Expand All @@ -13,14 +12,16 @@
import java.io.InputStream;
import java.io.StringReader;

import java.util.Arrays;

import static org.hamcrest.MatcherAssert.assertThat;

public class XMLUtilitiesIntegrationTest {

@Before
public void setUp() throws Exception {
//This test requires to have grobid deployed somewhere under these directories
GrobidHomeFinder finder = new GrobidHomeFinder(List.of("../grobid-home", "../../grobid/grobid-home"));
GrobidHomeFinder finder = new GrobidHomeFinder(Arrays.asList("../grobid-home", "../../grobid/grobid-home"));
GrobidProperties.getInstance(finder);
}

Expand Down

0 comments on commit ad0dd9b

Please sign in to comment.