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;
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);
}
*
* @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,
* 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)
{