From 895b251367e8369097f52e7cc4ca715ddd6cb56b Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Wed, 20 Mar 2019 23:33:50 +0000 Subject: [PATCH] some javadoc issues git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855954 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/poi/hpsf/UnicodeString.java | 4 ++-- .../apache/poi/hwpf/sprm/CharacterSprmUncompressor.java | 8 +------- .../apache/poi/hwpf/sprm/ParagraphSprmUncompressor.java | 7 +------ 3 files changed, 4 insertions(+), 15 deletions(-) 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) { -- 2.39.5