Ver código fonte

Fix bug in equals() that made caching effect-less.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@557934 13f79535-47bb-0310-9956-ffa450edef68
tags/fop-0_95beta
Jeremias Maerki 17 anos atrás
pai
commit
ebf1e9be66

+ 1
- 1
src/java/org/apache/fop/fo/properties/FixedLength.java Ver arquivo

@@ -152,7 +152,7 @@ public class FixedLength extends LengthProperty {
* {@inheritDoc}
*/
public boolean equals(Object obj) {
if (obj instanceof EnumProperty) {
if (obj instanceof FixedLength) {
return (((FixedLength)obj).millipoints == this.millipoints);
} else {
return false;

Carregando…
Cancelar
Salvar