Skip to content

Commit 2995cec

Browse files
committed
Guilty as charged.
1 parent 8997e1c commit 2995cec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/scala/info.folone/scala.poi/impure/WorkbookImpure.scala

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ class WorkbookImpure(wb: Workbook) {
99
def save(path: String): Unit =
1010
wb.safeToFile(path).fold(ex throw ex, identity).unsafePerformIO
1111

12-
def saveToStream(stream: OutputStream): Unit =
13-
safeToStream(stream).fold(ex throw ex, identity).unsafePerformIO
12+
def saveToStream(stream: java.io.OutputStream): Unit =
13+
wb.safeToStream(stream).fold(ex throw ex, identity).unsafePerformIO
1414

1515
def overwrite(path: String): Unit = {
1616
new File(path).delete()

0 commit comments

Comments
 (0)