You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by je...@apache.org on 2005/06/22 16:55:33 UTC
cvs commit: xml-fop/src/java/org/apache/fop/layoutmgr BreakingAlgorithm.java
jeremias 2005/06/22 07:55:33
Modified: src/java/org/apache/fop/layoutmgr BreakingAlgorithm.java
Log:
statics to the top so they are easily found.
Different logger name used now.
Revision Changes Path
1.9 +7 -5 xml-fop/src/java/org/apache/fop/layoutmgr/BreakingAlgorithm.java
Index: BreakingAlgorithm.java
===================================================================
RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/layoutmgr/BreakingAlgorithm.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- BreakingAlgorithm.java 15 Jun 2005 09:08:34 -0000 1.8
+++ BreakingAlgorithm.java 22 Jun 2005 14:55:33 -0000 1.9
@@ -39,6 +39,12 @@
* </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 @@
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;
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org