Skip to content
Snippets Groups Projects
Commit 7e6251af authored by Demian Katz's avatar Demian Katz
Browse files

Upgrade to SolrMarc 2.5.2.

parent 343c8612
No related merge requests found
No preview for this file type
No preview for this file type
...@@ -136,7 +136,7 @@ public File sanitizeApertureOutput(File f) ...@@ -136,7 +136,7 @@ public File sanitizeApertureOutput(File f)
Reader fr = new FileReader(f); Reader fr = new FileReader(f);
BufferedReader br = new BufferedReader(fr); BufferedReader br = new BufferedReader(fr);
while (br.ready()) { while (br.ready()) {
writer.write(br.readLine().replaceAll("\u000C","")); writer.write(sanitizeFullText(br.readLine()));
} }
writer.close(); writer.close();
br.close(); br.close();
...@@ -203,8 +203,6 @@ public String harvestWithAperture(url, aperturePath) { ...@@ -203,8 +203,6 @@ public String harvestWithAperture(url, aperturePath) {
} }
} }
plainText = sanitizeFullText(plainText);
// we'll hold onto the temp file if it failed to parse for debugging; // we'll hold onto the temp file if it failed to parse for debugging;
// only set it up to be deleted if we've made it this far successfully. // only set it up to be deleted if we've made it this far successfully.
tempFile.deleteOnExit(); tempFile.deleteOnExit();
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment