diff --git a/src/java/org/apache/poi/hpsf/UnicodeString.java b/src/java/org/apache/poi/hpsf/UnicodeString.java index 51f9018438..f6be7d3768 100644 --- a/src/java/org/apache/poi/hpsf/UnicodeString.java +++ b/src/java/org/apache/poi/hpsf/UnicodeString.java @@ -78,7 +78,7 @@ public class UnicodeString { final int terminator = result.indexOf( '\0' ); if ( terminator == -1 ) { String msg = - "String terminator (\\0) for UnicodeString property value not found."+ + "String terminator (\\0) for UnicodeString property value not found. " + "Continue without trimming and hope for the best."; LOG.log(POILogger.WARN, msg); return result; @@ -86,7 +86,7 @@ public class UnicodeString { if ( terminator != result.length() - 1 ) { String msg = - "String terminator (\\0) for UnicodeString property value occured before the end of string. "+ + "String terminator (\\0) for UnicodeString property value occured before the end of string. " + "Trimming and hope for the best."; LOG.log(POILogger.WARN, msg); } diff --git a/src/scratchpad/src/org/apache/poi/hwpf/sprm/CharacterSprmUncompressor.java b/src/scratchpad/src/org/apache/poi/hwpf/sprm/CharacterSprmUncompressor.java index e382ffe09a..f7ebeab350 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/sprm/CharacterSprmUncompressor.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/sprm/CharacterSprmUncompressor.java @@ -153,13 +153,7 @@ public final class CharacterSprmUncompressor extends SprmUncompressor * * @param oldCHP The base CharacterProperties. * @param newCHP The current CharacterProperties. - * @param operand The operand defined by the sprm (See Word file format spec) - * @param param The parameter defined by the sprm (See Word file format spec) - * @param varParam The variable length parameter defined by the sprm. (See - * Word file format spec) - * @param grpprl The entire chpx that this operation is a part of. - * @param offset The offset in the grpprl of the next sprm - * @param styleSheet The StyleSheet for this document. + * @param sprm an SPRM opearation */ static void unCompressCHPOperation (CharacterProperties oldCHP, CharacterProperties newCHP, diff --git a/src/scratchpad/src/org/apache/poi/hwpf/sprm/ParagraphSprmUncompressor.java b/src/scratchpad/src/org/apache/poi/hwpf/sprm/ParagraphSprmUncompressor.java index 43a7c9a47c..768ad5ffd2 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/sprm/ParagraphSprmUncompressor.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/sprm/ParagraphSprmUncompressor.java @@ -92,12 +92,7 @@ public final class ParagraphSprmUncompressor * from a papx. * * @param newPAP The ParagraphProperties object to perform the operation on. - * @param operand The operand that defines the operation. - * @param param The operation's parameter. - * @param varParam The operation's variable length parameter. - * @param grpprl The original papx. - * @param offset The current offset in the papx. - * @param spra A part of the sprm that defined this operation. + * @param sprm sn SPRM operation. */ static void unCompressPAPOperation (ParagraphProperties newPAP, SprmOperation sprm) {