Author: klute
Date: Wed Apr  5 00:26:52 2006
New Revision: 391555

URL: http://svn.apache.org/viewcvs?rev=391555&view=rev
Log:
HPSF-related beautification

Modified:
    jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/POIDocument.java

Modified: jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/POIDocument.java
URL: 
http://svn.apache.org/viewcvs/jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/POIDocument.java?rev=391555&r1=391554&r2=391555&view=diff
==============================================================================
--- jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/POIDocument.java 
(original)
+++ jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/POIDocument.java Wed 
Apr  5 00:26:52 2006
@@ -54,14 +54,14 @@
 
        /**
         * Find, and create objects for, the standard
-        *  Documment Information Properties (hpsf)
+        *  Documment Information Properties (HPSF)
         */
        protected void readProperties() {
                // DocumentSummaryInformation
-               dsInf = 
(DocumentSummaryInformation)getPropertySet("\005DocumentSummaryInformation");
+               dsInf = 
(DocumentSummaryInformation)getPropertySet(DocumentSummaryInformation.DEFAULT_STREAM_NAME);
 
                // SummaryInformation
-               sInf = 
(SummaryInformation)getPropertySet("\005SummaryInformation");
+               sInf = 
(SummaryInformation)getPropertySet(SummaryInformation.DEFAULT_STREAM_NAME);
        }
 
        /** 
@@ -94,7 +94,7 @@
        }
        
        /**
-        * Writes out the standard Documment Information Properties (hpsf)
+        * Writes out the standard Documment Information Properties (HPSF)
         * @param outFS the POIFSFileSystem to write the properties into
         */
        protected void writeProperties(POIFSFileSystem outFS) throws 
IOException {



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:    http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/

Reply via email to