git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@655601
13f79535-47bb-0310-9956-
ffa450edef68
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));
}
/**
*/
public CommonBorderPaddingBackground getBorderPaddingBackgroundProps()
throws PropertyException {
- return new CommonBorderPaddingBackground(this);
+ return CommonBorderPaddingBackground.getInstance(this);
}
/**