Skip to content

Commit c0e2af1

Browse files
committed
fixed javadoc
1 parent 2c27095 commit c0e2af1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/de/sstoehr/harreader/HarWriter.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ public HarWriter(MapperFactory mapperFactory) {
2121
}
2222

2323
/**
24-
* Serialize HAR as a byte array. It's functionally equivalent to calling {@link #writeTo(OutputStream)} with
24+
* Serialize HAR as a byte array. It's functionally equivalent to calling {@link #writeTo(OutputStream, Har)} with
2525
* {@link java.io.ByteArrayOutputStream} and getting bytes, but more efficient. Encoding used will be UTF-8.
2626
* @return Serialized HAR as a byte array
27-
* @throws IOException if a low-level I/O problem occurs
27+
* @throws HarWriterException if a low-level I/O problem occurs
2828
*/
2929
public byte[] writeAsBytes(Har har) throws HarWriterException {
3030
return wrap(m -> m.writeValueAsBytes(har));

0 commit comments

Comments
 (0)