File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
java-warc/src/test/java/com/github/bottomlessarchive/warc/test Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -98,5 +98,9 @@ subprojects {
9898 dependencies {
9999 compileOnly group : ' org.projectlombok' , name : ' lombok' , version : ' 1.18.16'
100100 annotationProcessor group : ' org.projectlombok' , name : ' lombok' , version : ' 1.18.16'
101+ testCompileOnly group : ' org.projectlombok' , name : ' lombok' , version : ' 1.18.16'
102+ testAnnotationProcessor group : ' org.projectlombok' , name : ' lombok' , version : ' 1.18.16'
103+
104+ testCompile group : ' org.slf4j' , name : ' slf4j-simple' , version : ' 1.7.30'
101105 }
102106}
Original file line number Diff line number Diff line change 33import com .github .bottomlessarchive .warc .service .WarcRecordStreamFactory ;
44import com .github .bottomlessarchive .warc .service .content .response .domain .ResponseContentBlock ;
55import com .github .bottomlessarchive .warc .service .record .domain .WarcRecordType ;
6+ import lombok .extern .slf4j .Slf4j ;
67
78import java .net .URL ;
89
10+ @ Slf4j
911public class TestUrlWarcReader {
1012
1113 public static void main (final String ... arg ) throws Exception {
@@ -14,6 +16,6 @@ public static void main(final String... arg) throws Exception {
1416
1517 WarcRecordStreamFactory .<ResponseContentBlock >streamOf (warcUrl , WarcRecordType .RESPONSE )
1618 .map (entry -> entry .getContentBlock ().getPayloadAsString ())
17- .forEach (System . out :: println );
19+ .forEach (log :: info );
1820 }
1921}
You can’t perform that action at this time.
0 commit comments