Author: adelmelle
Date: Sun Feb 6 16:42:21 2011
New Revision: 1067698
URL: http://svn.apache.org/viewvc?rev=1067698&view=rev
Log:
Fix checkstyle issues
Modified:
xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/FlowLayoutManager.java
xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/inline/LineLayoutManager.java
Modified:
xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/FlowLayoutManager.java
URL:
http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/FlowLayoutManager.java?rev=1067698&r1=1067697&r2=1067698&view=diff
==============================================================================
---
xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/FlowLayoutManager.java
(original)
+++
xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/FlowLayoutManager.java
Sun Feb 6 16:42:21 2011
@@ -88,7 +88,8 @@ public class FlowLayoutManager extends B
currentChildLM = restartPosition.getLM();
if (currentChildLM == null) {
throw new IllegalStateException(
- "Cannot find layout manager from where to re-start
layout after IPD change");
+ "Cannot find layout manager from where to re-start "
+ + "layout after IPD change");
}
if (restartLM != null && restartLM.getParent() == this) {
currentChildLM = restartLM;
Modified:
xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/inline/LineLayoutManager.java
URL:
http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/inline/LineLayoutManager.java?rev=1067698&r1=1067697&r2=1067698&view=diff
==============================================================================
---
xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/inline/LineLayoutManager.java
(original)
+++
xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/inline/LineLayoutManager.java
Sun Feb 6 16:42:21 2011
@@ -980,7 +980,7 @@ public class LineLayoutManager extends I
/* comment out the next lines in order to test particular situations */
if (fobj.getOrphans() + fobj.getWidows() <= llPoss.getMinLineCount()) {
innerLines = llPoss.getMinLineCount() - (fobj.getOrphans() +
fobj.getWidows());
- optionalLines = llPoss.getMaxLineCount()- llPoss.getOptLineCount();
+ optionalLines = llPoss.getMaxLineCount() -
llPoss.getOptLineCount();
eliminableLines = llPoss.getOptLineCount() -
llPoss.getMinLineCount();
} else if (fobj.getOrphans() + fobj.getWidows() <=
llPoss.getOptLineCount()) {
optionalLines = llPoss.getMaxLineCount() -
llPoss.getOptLineCount();
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]