From: Rainer Klute Date: Wed, 5 Apr 2006 07:26:52 +0000 (+0000) Subject: HPSF-related beautification X-Git-Tag: REL_3_0_ALPHA3~134 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=545eb3e56b73557c2a756e569a089fcf3ad23eda;p=poi.git HPSF-related beautification git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@391555 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/scratchpad/src/org/apache/poi/POIDocument.java b/src/scratchpad/src/org/apache/poi/POIDocument.java index be9713ab32..bde3c09bcb 100644 --- a/src/scratchpad/src/org/apache/poi/POIDocument.java +++ b/src/scratchpad/src/org/apache/poi/POIDocument.java @@ -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 {