From 545eb3e56b73557c2a756e569a089fcf3ad23eda Mon Sep 17 00:00:00 2001 From: Rainer Klute Date: Wed, 5 Apr 2006 07:26:52 +0000 Subject: [PATCH] HPSF-related beautification 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 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 {