]> source.dussan.org Git - poi.git/commitdiff
HPSF-related beautification
authorRainer Klute <klute@apache.org>
Wed, 5 Apr 2006 07:26:52 +0000 (07:26 +0000)
committerRainer Klute <klute@apache.org>
Wed, 5 Apr 2006 07:26:52 +0000 (07:26 +0000)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@391555 13f79535-47bb-0310-9956-ffa450edef68

src/scratchpad/src/org/apache/poi/POIDocument.java

index be9713ab323513a3262df581a166878c08f52332..bde3c09bcb5892d0c79283f791af2b60ea008c2d 100644 (file)
@@ -54,14 +54,14 @@ public abstract class POIDocument {
 
        /**
         * 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 @@ public abstract class POIDocument {
        }
        
        /**
-        * 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 {