storedIPDVariation += ipdVariation;
}
}
-
+
/**
* Returns the offset that this area would have if its offset and size were taking
* children areas into account. The bpd of an inline area is taken from its nominal
package org.apache.fop.area.inline;
-import java.util.Iterator;
import java.util.ArrayList;
+import java.util.Iterator;
import java.util.List;
-import java.lang.Math;
import org.apache.fop.area.Area;
/** Controls whether the IPD is automatically adjusted based on the area's children. */
protected transient boolean autoSize;
-
+
/** The offset of the <q>beforest</q> child area of this area. */
protected int minChildOffset;
-
+
/**
* The offset of the <q>afterest</q> child area of this area. Offset from the
* before-edge of this area's content-rectangle and the after-edge of the child area's
import java.util.List;
import java.util.ListIterator;
import java.util.Map;
+import java.util.Map.Entry;
import java.util.NoSuchElementException;
import java.util.Set;
private void warnOnUnknownProperties(Attributes attlist, String objName, PropertyList propertyList)
throws FOPException {
Map<String, Property> unknowns = propertyList.getUnknownPropertyValues();
- for (String propertyValue : unknowns.keySet()) {
+ for (Entry<String, Property> value : unknowns.entrySet()) {
+ String unknownProperty = value.getKey();
FOValidationEventProducer producer = FOValidationEventProducer.Provider.get(getUserAgent()
.getEventBroadcaster());
producer.invalidPropertyValue(this, objName,
- getAttributeNameForValue(attlist, unknowns.get(propertyValue), propertyList),
- propertyValue, null,
+ getAttributeNameForValue(attlist, unknowns.get(unknownProperty), propertyList),
+ unknownProperty, null,
getLocator());
}
}
return demerits;
}
for (int breakPos = 0; breakPos < curPossibility.size(); breakPos++) {
- if (curPossibility.get(breakPos) != 0 &&
- !curPossibility.get(breakPos).equals(idealBreaks.get(breakPos))) {
+ if (curPossibility.get(breakPos) != 0
+ && !curPossibility.get(breakPos).equals(idealBreaks.get(breakPos))) {
notIdeal = true;
break;
}
documents. Example: the fix of marks layering will be such a case when it's done.
-->
<release version="FOP Trunk" date="TBD">
+ <action context="Code" dev="GA" type="fix" fixes-bug="FOP-2179" due-to="Robert Meyer">
+ Fix checkstyle and findbugs warnings.
+ </action>
<action context="Layout" dev="GA" type="fix" fixes-bug="FOP-2160" due-to="Robert Meyer">
Fix NPE when rl writing mode is used in certain contexts.
</action>