poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From one...@apache.org
Subject svn commit: r1752854 - /poi/site/src/documentation/content/xdocs/poi-jvm-languages.xml
Date Fri, 15 Jul 2016 17:00:50 GMT
Author: onealj
Date: Fri Jul 15 17:00:50 2016
New Revision: 1752854

URL: http://svn.apache.org/viewvc?rev=1752854&view=rev
Log:
add missing new keyword in Java code example form JVM languages

Modified:
    poi/site/src/documentation/content/xdocs/poi-jvm-languages.xml

Modified: poi/site/src/documentation/content/xdocs/poi-jvm-languages.xml
URL: http://svn.apache.org/viewvc/poi/site/src/documentation/content/xdocs/poi-jvm-languages.xml?rev=1752854&r1=1752853&r2=1752854&view=diff
==============================================================================
--- poi/site/src/documentation/content/xdocs/poi-jvm-languages.xml (original)
+++ poi/site/src/documentation/content/xdocs/poi-jvm-languages.xml Fri Jul 15 17:00:50 2016
@@ -93,7 +93,7 @@
     cell.setCellValue("The answer to life, the universe, and everything");
 
     // Save and close the workbook
-    OutputStream fos = FileOutputStream("SampleSS-updated.xlsx");
+    OutputStream fos = new FileOutputStream("SampleSS-updated.xlsx");
     wb.write(fos);
     fos.close();
     </source>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message