You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by ad...@apache.org on 2008/05/12 21:06:04 UTC
svn commit: r655601 -
/xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/PropertyList.java
Author: adelmelle
Date: Mon May 12 12:06:04 2008
New Revision: 655601
URL: http://svn.apache.org/viewvc?rev=655601&view=rev
Log:
Added missing file from r655500
Modified:
xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/PropertyList.java
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/PropertyList.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/PropertyList.java?rev=655601&r1=655600&r2=655601&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/PropertyList.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/PropertyList.java Mon May 12 12:06:04 2008
@@ -349,13 +349,10 @@
findBasePropertyName(propertyName));
int subpropId = FOPropertyMapping.getSubPropertyId(
findSubPropertyName(propertyName));
-
- if (propId == -1
- || (subpropId == -1
- && findSubPropertyName(propertyName) != null)) {
- return false;
- }
- return true;
+
+ return !(propId == -1
+ || (subpropId == -1
+ && findSubPropertyName(propertyName) != null));
}
/**
@@ -574,7 +571,7 @@
*/
public CommonBorderPaddingBackground getBorderPaddingBackgroundProps()
throws PropertyException {
- return new CommonBorderPaddingBackground(this);
+ return CommonBorderPaddingBackground.getInstance(this);
}
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org