diff --git a/src/scratchpad/src/org/apache/poi/hwpf/usermodel/Section.java b/src/scratchpad/src/org/apache/poi/hwpf/usermodel/Section.java index 8ce3787a18..7bd528c3e9 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/usermodel/Section.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/usermodel/Section.java @@ -59,18 +59,7 @@ public final class Section @Override public String toString() { - return toString( true ); - } - - public String toString( boolean withProperties ) - { - return "Section (" - + getStartOffset() - + "--" - + getEndOffset() - + ")" - + (withProperties ? "\n" - + _props.toString().replaceAll( "\n", "\n\t" ) : ""); + return "Section [" + getStartOffset() + "; " + getEndOffset() + ")"; } }