Skip to content

Commit

Permalink
fixes for #213
Browse files Browse the repository at this point in the history
  • Loading branch information
cmacdonald committed Jun 28, 2023
1 parent 98417be commit 7c931a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
import java.io.BufferedWriter;
import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
import java.util.List;

import org.terrier.utility.ApplicationSetup;
Expand Down Expand Up @@ -176,7 +175,7 @@ protected boolean openNextFile()
}


File temp = Files.createTempFile("simpleMedlineXMLcollection", ".xml").toFile();
File temp = java.nio.file.Files.createTempFile("simpleMedlineXMLcollection", ".xml").toFile();
Files.copyFile(new File(filename), temp);

//if(logger.isDebugEnabled()){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
import java.io.IOException;
import java.io.Reader;
import java.io.StringReader;
import java.nio.file.Files;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
Expand Down Expand Up @@ -590,7 +589,7 @@ protected boolean openNextFile()
}


File temp = Files.createTempFile("simpleXMLcollection", ".xml").toFile();
File temp = java.nio.file.Files.createTempFile("simpleXMLcollection", ".xml").toFile();
Files.copyFile(new File(filename), temp);

if(logger.isDebugEnabled()){
Expand Down

0 comments on commit 7c931a2

Please sign in to comment.