]> source.dussan.org Git - poi.git/commitdiff
Update POIDocument to use POILogger
authorNick Burch <nick@apache.org>
Wed, 19 Sep 2007 14:40:44 +0000 (14:40 +0000)
committerNick Burch <nick@apache.org>
Wed, 19 Sep 2007 14:40:44 +0000 (14:40 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@577317 13f79535-47bb-0310-9956-ffa450edef68

src/documentation/content/xdocs/changes.xml
src/documentation/content/xdocs/status.xml
src/java/org/apache/poi/POIDocument.java

index bac5f0a16716b19c248a235204a10fd145f907d9..97fce850c2240b98d9397bccd4b06caa9670e034 100644 (file)
@@ -36,6 +36,7 @@
     </devs>
 
         <release version="3.0.2-FINAL" date="2007-??-??">
+            <action dev="POI-DEVELOPERS" type="fix">Move POIDocument out of Scratchpad, and update HSSFWorkbook to use it</action>
             <action dev="POI-DEVELOPERS" type="fix">43399 - [PATCH] - Fix for Cell References for rows > 32678</action>
             <action dev="POI-DEVELOPERS" type="fix">43410 - [PATCH] - Improved Formula Parser support for numbers and ranges</action>
             <action dev="POI-DEVELOPERS" type="add">When writing HSLF files out, optionally preserve all OLE2 nodes (default is just the HSLF related nodes)</action>
index 9ab70b7fd0d01b3efcbba0e8ec305a4ef322d1c2..e5cde9195dd8123c99524a42ff1633eb39a6b9f3 100644 (file)
@@ -33,6 +33,7 @@
 
     <changes>
         <release version="3.0.2-FINAL" date="2007-??-??">
+            <action dev="POI-DEVELOPERS" type="fix">Move POIDocument out of Scratchpad, and update HSSFWorkbook to use it</action>
             <action dev="POI-DEVELOPERS" type="fix">43399 - [PATCH] - Fix for Cell References for rows > 32678</action>
             <action dev="POI-DEVELOPERS" type="fix">43410 - [PATCH] - Improved Formula Parser support for numbers and ranges</action>
             <action dev="POI-DEVELOPERS" type="add">When writing HSLF files out, optionally preserve all OLE2 nodes (default is just the HSLF related nodes)</action>
index bc3b78dd217bbf2e7795ff487767dd8d49e9a0a8..ece7a3f13dbf5bbd315860d4cf003cc059f94b8d 100644 (file)
@@ -88,7 +88,7 @@ public abstract class POIDocument {
                        dis = filesystem.createDocumentInputStream(setName);
                } catch(IOException ie) {
                        // Oh well, doesn't exist
-                       System.err.println("Error getting property set with name " + setName + "\n" + ie);
+                       logger.log(POILogger.WARN, "Error getting property set with name " + setName + "\n" + ie);
                        return null;
                }
 
@@ -98,10 +98,10 @@ public abstract class POIDocument {
                        return set;
                } catch(IOException ie) {
                        // Must be corrupt or something like that
-                       System.err.println("Error creating property set with name " + setName + "\n" + ie);
+                       logger.log(POILogger.WARN, "Error creating property set with name " + setName + "\n" + ie);
                } catch(org.apache.poi.hpsf.HPSFException he) {
                        // Oh well, doesn't exist
-                       System.err.println("Error creating property set with name " + setName + "\n" + he);
+                       logger.log(POILogger.WARN, "Error creating property set with name " + setName + "\n" + he);
                }
                return null;
        }