git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@291092
13f79535-47bb-0310-9956-
ffa450edef68
max -= op.min;
}
+ /** @see java.lang.Object#toString() */
public String toString() {
- return "MinOptMax: min=" + min + "; opt=" + opt + "; max=" + max;
+ StringBuffer sb = new StringBuffer();
+ sb.append("MinOptMax[min=");
+ if (min != opt) {
+ sb.append(min).append("; ");
+ }
+ sb.append("opt=");
+ if (opt != max) {
+ sb.append(opt).append("; ");
+ }
+ sb.append("max=").append(max);
+ sb.append("]");
+ return sb.toString();
}
}