Skip to content

Commit

Permalink
Fix for NAS-2884 error in search of cached crawl log
Browse files Browse the repository at this point in the history
  • Loading branch information
csrster committed Sep 30, 2022
1 parent 459841a commit 7643465
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import java.io.File;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.nio.Buffer;
import java.nio.ByteBuffer;
import java.nio.channels.FileChannel;
import java.util.regex.Matcher;
Expand Down Expand Up @@ -82,7 +83,7 @@ public synchronized void update() throws IOException {
int limit;
boolean b;
while (logChannel.read(byteBuffer) != -1) {
byteBuffer.flip();
((Buffer) byteBuffer).flip();
pos = byteBuffer.position();
mark = pos;
limit = byteBuffer.limit();
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<webarchive-commons.version>1.1.5</webarchive-commons.version>
<!-- Heritrix versions are from https://github.com/netarchivesuite/heritrix3 which tracks the official
repository at https://github.com/internetarchive/heritrix3 as closely as we can -->
<heritrix3.version>3.4.0-NAS-7.4</heritrix3.version>
<heritrix3.version>3.4.0-NAS-7.4.3</heritrix3.version>
<heritrix3-wrapper.version>1.0.5</heritrix3-wrapper.version>
<wayback.version>1.8.0-20130411</wayback.version>
<openwayback.version>2.0.0</openwayback.version>
Expand Down

0 comments on commit 7643465

Please sign in to comment.