Skip to content

Commit

Permalink
FOP-2515: Do not log a warning if an implicit property value is inher…
Browse files Browse the repository at this point in the history
…ited explicitly
  • Loading branch information
Vampire committed Feb 19, 2019
1 parent caced35 commit 2d9de40
Showing 1 changed file with 0 additions and 13 deletions.
Expand Up @@ -415,19 +415,6 @@ public Property make(PropertyList propertyList, String value,
if ((propId & Constants.COMPOUND_MASK) != 0) {
newProp = getSubprop(newProp, propId & Constants.COMPOUND_MASK);
}
if (!isInherited() && LOG.isWarnEnabled()) {
/* check whether explicit value is available on the parent
* (for inherited properties, an inherited value will always
* be available)
*/
Property parentExplicit = propertyList.getParentPropertyList()
.getExplicit(getPropId());
if (parentExplicit == null) {
LOG.warn(FOPropertyMapping.getPropertyName(getPropId())
+ "=\"inherit\" on " + propertyList.getFObj().getName()
+ ", but no explicit value found on the parent FO.");
}
}
} else {
// Check for keyword shorthand values to be substituted.
pvalue = checkValueKeywords(pvalue.trim());
Expand Down

0 comments on commit 2d9de40

Please sign in to comment.