File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/main/java/org/bibalex/warcrefs Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ private void writeWarcDedup( String warcAbsolutePath ) throws IOException
88
88
warcDedupAbsolutePath );
89
89
90
90
// Delete the following line after testing
91
- FileOutputStream warcOutputStream2 = new FileOutputStream ( "/home/msm/warcrefs/warc.gz" ); // "/home/msm/warcrefs/warc.warc.gz"
91
+ // FileOutputStream warcOutputStream2 = new FileOutputStream( "/home/msm/warcrefs/warc.gz" ); // "/home/msm/warcrefs/warc.warc.gz"
92
92
93
93
int preOffset = 0 ;
94
94
int preLength = 0 ;
@@ -133,7 +133,7 @@ private void writeWarcDedup( String warcAbsolutePath ) throws IOException
133
133
// below.
134
134
// TODO: should fix it by passing warcOutputStream instead of outputStream2
135
135
writeRevisitRecord (
136
- warcInputStream , warcOutputStream2 ,
136
+ warcInputStream , warcOutputStream ,
137
137
offset , refersToUri , refersToDate );
138
138
139
139
/* Skip revisit record length to read the next record
@@ -166,7 +166,7 @@ private void writeWarcDedup( String warcAbsolutePath ) throws IOException
166
166
warcOutputStream .close ();
167
167
168
168
// Delete the following line after testing
169
- warcOutputStream2 .close ();
169
+ // warcOutputStream2.close();
170
170
}
171
171
catch ( Exception e )
172
172
{
You can’t perform that action at this time.
0 commit comments