diff options
author | Jeremias Maerki <jeremias@apache.org> | 2005-06-22 14:55:33 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2005-06-22 14:55:33 +0000 |
commit | cab77b95f7a9445264b5a9dca563e04f312ea8e6 (patch) | |
tree | 256d9dddf1ccb2d37277fac109b95186f53a4585 | |
parent | 1957934d2cc94233b666801e4f61d7b43e311165 (diff) | |
download | xmlgraphics-fop-cab77b95f7a9445264b5a9dca563e04f312ea8e6.tar.gz xmlgraphics-fop-cab77b95f7a9445264b5a9dca563e04f312ea8e6.zip |
statics to the top so they are easily found.
Different logger name used now.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198762 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/java/org/apache/fop/layoutmgr/BreakingAlgorithm.java | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/BreakingAlgorithm.java b/src/java/org/apache/fop/layoutmgr/BreakingAlgorithm.java index 1da5ee4d7..30deec540 100644 --- a/src/java/org/apache/fop/layoutmgr/BreakingAlgorithm.java +++ b/src/java/org/apache/fop/layoutmgr/BreakingAlgorithm.java @@ -39,6 +39,12 @@ import org.apache.fop.traits.MinOptMax; * </pre> */ public abstract class BreakingAlgorithm { + + /** the logger */ + protected static Log log = LogFactory.getLog(BreakingAlgorithm.class); + + protected static final int INFINITE_RATIO = 1000; + // parameters of Knuth's algorithm: // penalty value for flagged penalties private int flaggedPenalty = 50; @@ -111,10 +117,6 @@ public abstract class BreakingAlgorithm { protected BestRecords best; private KnuthNode[] positions; - protected static final int INFINITE_RATIO = 1000; - - protected static Log log = LogFactory.getLog(KnuthParagraph.class); - public BreakingAlgorithm(int align, int alignLast, boolean first) { alignment = align; |