1 diff -ru liblayout-0.2.10.orig/source/org/jfree/layouting/input/style/parser/CSSValueFactory.java liblayout-0.2.10/source/org/jfree/layouting/input/style/parser/CSSValueFactory.java
2 --- liblayout-0.2.10.orig/source/org/jfree/layouting/input/style/parser/CSSValueFactory.java 2021-04-07 10:34:09.797045462 +0100
3 +++ liblayout-0.2.10/source/org/jfree/layouting/input/style/parser/CSSValueFactory.java 2021-04-07 10:41:20.015338056 +0100
5 import org.jfree.layouting.input.style.values.CSSStringValue;
6 import org.jfree.layouting.input.style.values.CSSValue;
7 import org.w3c.css.sac.LexicalUnit;
8 -import org.apache.commons.logging.LogFactory;
9 -import org.apache.commons.logging.Log;
10 +import java.util.logging.Logger;
11 import org.pentaho.reporting.libraries.base.config.Configuration;
12 import org.pentaho.reporting.libraries.base.util.ObjectUtilities;
16 public class CSSValueFactory
18 - private static final Log logger = LogFactory.getLog(CSSValueFactory.class);
19 + private static final Logger logger = Logger.getLogger(CSSValueFactory.class.getName());
20 public static final String SIMPLE_PREFIX = "org.jfree.layouting.parser.handlers.";
21 public static final String COMPOUND_PREFIX = "org.jfree.layouting.parser.compoundhandlers.";
27 - logger.warn("Invalid module implementation: " + c);
28 + logger.warning("Invalid module implementation: " + c);
33 (CSSCompoundValueReadHandler) compoundHandlers.get(name);
36 - logger.warn("Got no key for inherited value: " + name);
37 + logger.warning("Got no key for inherited value: " + name);
42 (CSSCompoundValueReadHandler) compoundHandlers.get(name);
45 - logger.warn("Got no key for compound attr function: " + name);
46 + logger.warning("Got no key for compound attr function: " + name);
54 - // Log.warn("Got no key for attribute-function " + normalizedName);
55 + // Log.warning("Got no key for attribute-function " + normalizedName);
56 setCompundAttrValue(normalizedName, attrFn, rule, important);
60 // ATTR function (extended version).
63 - logger.warn("Got no key for attribute-function " + normalizedName);
64 + logger.warning("Got no key for attribute-function " + normalizedName);
67 final CSSAttrFunction attrFn = parseComplexAttrFn(value.getParameters());
72 - logger.warn("Unparsable value: Got no valid result for " + normalizedName + " (" + value + ')');
73 + logger.warning("Unparsable value: Got no valid result for " + normalizedName + " (" + value + ')');
74 return; // ignore this rule ..
76 final Map map = module.createValues(value);
77 diff -ru liblayout-0.2.10.orig/source/org/jfree/layouting/input/style/parser/StyleSheetHandler.java liblayout-0.2.10/source/org/jfree/layouting/input/style/parser/StyleSheetHandler.java
78 --- liblayout-0.2.10.orig/source/org/jfree/layouting/input/style/parser/StyleSheetHandler.java 2021-04-07 10:34:09.798045474 +0100
79 +++ liblayout-0.2.10/source/org/jfree/layouting/input/style/parser/StyleSheetHandler.java 2021-04-07 10:48:18.496489721 +0100
81 import org.pentaho.reporting.libraries.resourceloader.Resource;
82 import org.pentaho.reporting.libraries.resourceloader.ResourceException;
83 import org.pentaho.reporting.libraries.base.util.FastStack;
84 -import org.apache.commons.logging.LogFactory;
85 -import org.apache.commons.logging.Log;
86 +import java.util.logging.Logger;
89 * Creation-Date: 23.11.2005, 13:06:06
92 public class StyleSheetHandler implements DocumentHandler, ErrorHandler
94 - private static final Log logger = LogFactory.getLog(StyleSheetHandler.class);
95 + private static final Logger logger = Logger.getLogger(StyleSheetHandler.class.getName());
96 private HashMap namespaces;
97 private StyleKeyRegistry registry;
98 private StyleSheet styleSheet;
102 // we catch everything.
103 - logger.warn("Error parsing style key: " + name, e);
104 + logger.warning("Error parsing style key: " + name + " : " + e);
109 public void warning(final CSSParseException exception)
112 - logger.warn("Warning: " + exception.getMessage());
113 + logger.warning("Warning: " + exception.getMessage());
118 public void error(final CSSParseException exception)
121 - logger.warn("Error: ", exception);
122 + logger.warning("Error: " + exception);
127 public void fatalError(final CSSParseException exception)
130 - logger.warn("Fatal Error: ", exception);
131 + logger.warning("Fatal Error: " + exception);
134 diff -ru liblayout-0.2.10.orig/source/org/jfree/layouting/normalizer/generator/PrintContentGenerator.java liblayout-0.2.10/source/org/jfree/layouting/normalizer/generator/PrintContentGenerator.java
135 --- liblayout-0.2.10.orig/source/org/jfree/layouting/normalizer/generator/PrintContentGenerator.java 2021-04-07 10:34:09.766045081 +0100
136 +++ liblayout-0.2.10/source/org/jfree/layouting/normalizer/generator/PrintContentGenerator.java 2021-04-07 10:47:20.093770766 +0100
138 import org.jfree.layouting.layouter.context.PageContext;
139 import org.jfree.layouting.normalizer.content.NormalizationException;
140 import org.jfree.layouting.renderer.Renderer;
141 -import org.apache.commons.logging.LogFactory;
142 -import org.apache.commons.logging.Log;
143 +import java.util.logging.Logger;
146 * Simply prints each incoming call.
149 public class PrintContentGenerator implements ContentGenerator
151 - private static final Log logger = LogFactory.getLog(PrintContentGenerator.class);
152 + private static final Logger logger = Logger.getLogger(PrintContentGenerator.class.getName());
155 private static class PrintContentGeneratorState implements State
158 public void startedDocument(final PageContext pageContext)
160 - logger.debug("<document>");
161 + logger.config("<document>");
162 renderer.startedDocument(pageContext);
165 public void startedFlow(final LayoutContext element)
166 throws NormalizationException
168 - logger.debug("<flow tag='" + element.getTagName() + "'>");
169 + logger.config("<flow tag='" + element.getTagName() + "'>");
170 renderer.startedFlow(element);
173 public void startedTable(final LayoutContext element)
174 throws NormalizationException
176 - logger.debug("<table>");
177 + logger.config("<table>");
178 renderer.startedTable(element);
181 public void startedTableColumnGroup(final LayoutContext element)
182 throws NormalizationException
184 - logger.debug("<table-col-group>");
185 + logger.config("<table-col-group>");
186 renderer.startedTableColumnGroup(element);
189 public void startedTableColumn(final LayoutContext element)
190 throws NormalizationException
192 - logger.debug("<table-col>");
193 + logger.config("<table-col>");
194 renderer.startedTableColumn(element);
197 public void startedTableSection(final LayoutContext element)
198 throws NormalizationException
200 - logger.debug("<table-section>");
201 + logger.config("<table-section>");
202 renderer.startedTableSection(element);
205 public void startedTableRow(final LayoutContext element)
206 throws NormalizationException
208 - logger.debug("<table-row>");
209 + logger.config("<table-row>");
210 renderer.startedTableRow(element);
213 public void startedTableCell(final LayoutContext element)
214 throws NormalizationException
216 - logger.debug("<table-cell>");
217 + logger.config("<table-cell>");
218 renderer.startedTableCell(element);
222 throws NormalizationException
224 final String tagName = element.getTagName();
225 - logger.debug("<block tag='" + tagName + "'>");
226 + logger.config("<block tag='" + tagName + "'>");
227 renderer.startedBlock(element);
230 @@ -161,14 +160,14 @@
231 throws NormalizationException
233 final String tagName = element.getTagName();
234 - logger.debug("<paragraph tag='" + tagName + "'>");
235 + logger.config("<paragraph tag='" + tagName + "'>");
236 renderer.startedRootInline(element);
239 public void startedMarker(final LayoutContext element)
240 throws NormalizationException
242 - logger.debug("<marker>");
243 + logger.config("<marker>");
244 renderer.startedMarker(element);
247 @@ -176,80 +175,80 @@
248 throws NormalizationException
250 final String tagName = element.getTagName();
251 - logger.debug("<inline tag='" + tagName + "'>");
252 + logger.config("<inline tag='" + tagName + "'>");
253 renderer.startedInline(element);
256 public void addContent(final LayoutContext node, final ContentToken token)
257 throws NormalizationException
259 - logger.debug("<content>" + token + "</content>");
260 + logger.config("<content>" + token + "</content>");
261 renderer.addContent(node, token);
264 public void finishedInline() throws NormalizationException
266 - logger.debug("</inline>");
267 + logger.config("</inline>");
268 renderer.finishedInline();
271 public void finishedMarker() throws NormalizationException
273 - logger.debug("</marker>");
274 + logger.config("</marker>");
275 renderer.finishedMarker();
278 public void finishedRootInline() throws NormalizationException
280 - logger.debug("</paragraph>");
281 + logger.config("</paragraph>");
282 renderer.finishedRootInline();
285 public void finishedBlock() throws NormalizationException
287 - logger.debug("</block>");
288 + logger.config("</block>");
289 renderer.finishedBlock();
292 public void finishedTableCell() throws NormalizationException
294 - logger.debug("</table-cell>");
295 + logger.config("</table-cell>");
296 renderer.finishedTableCell();
299 public void finishedTableRow() throws NormalizationException
301 - logger.debug("</table-row>");
302 + logger.config("</table-row>");
303 renderer.finishedTableRow();
306 public void finishedTableSection() throws NormalizationException
308 - logger.debug("</table-section>");
309 + logger.config("</table-section>");
310 renderer.finishedTableSection();
313 public void finishedTableColumn() throws NormalizationException
315 - logger.debug("</table-col>");
316 + logger.config("</table-col>");
317 renderer.finishedTableColumn();
320 public void finishedTableColumnGroup() throws NormalizationException
322 - logger.debug("</table-col-group>");
323 + logger.config("</table-col-group>");
324 renderer.finishedTableColumnGroup();
327 public void finishedTable() throws NormalizationException
329 - logger.debug("</table>");
330 + logger.config("</table>");
331 renderer.finishedTable();
334 public void finishedFlow() throws NormalizationException
336 - logger.debug("</flow>");
337 + logger.config("</flow>");
338 renderer.finishedFlow();
343 public void finishedDocument() throws NormalizationException
345 - logger.debug("</document>");
346 + logger.config("</document>");
347 renderer.finishedDocument();
351 public void startedPassThrough(final LayoutContext element)
352 throws NormalizationException
354 - logger.debug("<pass-through>");
355 + logger.config("<pass-through>");
356 renderer.startedPassThrough(element);
359 @@ -284,26 +283,26 @@
360 final ContentToken token)
361 throws NormalizationException
363 - logger.debug("<pass-through-content>" + token + "</pass-through-content>");
364 + logger.config("<pass-through-content>" + token + "</pass-through-content>");
365 renderer.addPassThroughContent(node, token);
368 public void finishedPassThrough() throws NormalizationException
370 - logger.debug("</pass-through>");
371 + logger.config("</pass-through>");
372 renderer.finishedPassThrough();
375 public void startedTableCaption(final LayoutContext context)
376 throws NormalizationException
378 - logger.debug("<table-caption>");
379 + logger.config("<table-caption>");
380 renderer.startedTableCaption(context);
383 public void finishedTableCaption() throws NormalizationException
385 - logger.debug("</table-caption>");
386 + logger.config("</table-caption>");
387 renderer.finishedTableCaption();
390 diff -ru liblayout-0.2.10.orig/source/org/jfree/layouting/renderer/model/RenderBox.java liblayout-0.2.10/source/org/jfree/layouting/renderer/model/RenderBox.java
391 --- liblayout-0.2.10.orig/source/org/jfree/layouting/renderer/model/RenderBox.java 2021-04-07 10:34:09.779045241 +0100
392 +++ liblayout-0.2.10/source/org/jfree/layouting/renderer/model/RenderBox.java 2021-04-07 10:49:14.499179135 +0100
394 import org.jfree.layouting.renderer.text.ExtendedBaselineInfo;
395 import org.jfree.layouting.renderer.text.TextUtility;
396 import org.pentaho.reporting.libraries.fonts.registry.FontMetrics;
397 -import org.apache.commons.logging.Log;
398 -import org.apache.commons.logging.LogFactory;
399 +import java.util.logging.Logger;
402 * A render-box corresponds to elements in a DOM tree.
405 public abstract class RenderBox extends RenderNode
407 - private static final Log logger = LogFactory.getLog(RenderBox.class);
408 + private static final Logger logger = Logger.getLogger(RenderBox.class.getName());
409 public static final boolean LOG_PRUNE = false;
411 private RenderNode firstChild;
416 - logger.debug("Pruning: " + this);
417 + logger.config("Pruning: " + this);
419 getParent().remove(this);
425 - logger.debug("Pruning: " + lastChild);
426 + logger.config("Pruning: " + lastChild);
429 lastChild = getLastChild();
430 diff -ru liblayout-0.2.10.orig/source/org/jfree/layouting/renderer/ModelPrinter.java liblayout-0.2.10/source/org/jfree/layouting/renderer/ModelPrinter.java
431 --- liblayout-0.2.10.orig/source/org/jfree/layouting/renderer/ModelPrinter.java 2021-04-07 10:34:09.786045327 +0100
432 +++ liblayout-0.2.10/source/org/jfree/layouting/renderer/ModelPrinter.java 2021-04-07 10:46:12.757941838 +0100
434 import org.jfree.layouting.renderer.model.table.cells.TableCell;
435 import org.jfree.layouting.renderer.model.table.cols.TableColumn;
436 import org.jfree.layouting.renderer.model.table.cols.TableColumnModel;
437 -import org.apache.commons.logging.Log;
438 -import org.apache.commons.logging.LogFactory;
439 +import java.util.logging.Logger;
442 * Creation-Date: Jan 9, 2007, 2:22:59 PM
445 public class ModelPrinter
447 - private static final Log logger = LogFactory.getLog (ModelPrinter.class);
448 + private static final Logger logger = Logger.getLogger(ModelPrinter.class.getName());
450 private ModelPrinter()
454 b.append(Integer.toHexString(System.identityHashCode(node)));
457 + logger.config(b.toString());
458 node = node.getParent();
462 b.append(", height=");
463 b.append(box.getHeight());
465 - logger.debug(b.toString());
466 + logger.config(b.toString());
468 b = new StringBuffer();
469 for (int i = 0; i < level; i++)
472 b.append("- nodeLayoutProperties=");
473 b.append(box.getNodeLayoutProperties());
474 - logger.debug(b.toString());
475 + logger.config(b.toString());
477 b = new StringBuffer();
478 for (int i = 0; i < level; i++)
481 b.append("- boxLayoutProperties=");
482 b.append(box.getBoxLayoutProperties());
483 - logger.debug(b.toString());
484 + logger.config(b.toString());
486 if (box instanceof TableRowRenderBox)
489 for (int i = 0; i < rowInfoStructure.getCellCount(); i++)
491 final TableCell cell = rowInfoStructure.getCellAt(i);
492 - logger.debug ("CELL: " + i + " = " + cell.getRowSpan() + ' ' + cell.getColSpan() + ' ' + cell);
493 + logger.config("CELL: " + i + " = " + cell.getRowSpan() + ' ' + cell.getColSpan() + ' ' + cell);
496 else if (box instanceof TableRenderBox)
498 for (int i = 0; i < columnModel.getColumnCount(); i++)
500 final TableColumn col = columnModel.getColumn(i);
501 - logger.debug ("COLUMN: EffectiveSize: " + col.getEffectiveSize() + " Computed Max Width: " + col.getComputedMaximumWidth() + " Computed ChunkSize: " + col.getComputedMinChunkSize());
502 + logger.config("COLUMN: EffectiveSize: " + col.getEffectiveSize() + " Computed Max Width: " + col.getComputedMaximumWidth() + " Computed ChunkSize: " + col.getComputedMinChunkSize());
503 // for (int cs = 1; cs < 3; cs++)
505 // Log.debug ("* COLUMN: " + i + "(" + cs + ") " +
506 @@ -149,14 +148,14 @@
507 else if (box instanceof TableCellRenderBox)
509 final TableCellRenderBox cellBox = (TableCellRenderBox) box;
510 - logger.debug ("CELL: Position: " + cellBox.getColumnIndex());
511 + logger.config("CELL: Position: " + cellBox.getColumnIndex());
513 else if (box instanceof ParagraphRenderBox)
515 final ParagraphRenderBox paraBox = (ParagraphRenderBox) box;
516 - logger.debug ("-----------------------------------------------------");
517 + logger.config("-----------------------------------------------------");
518 printBox(paraBox.getLineboxContainer(), level + 1);
519 - logger.debug ("-----------------------------------------------------");
520 + logger.config("-----------------------------------------------------");
523 printChilds(box, level);
525 b.append(", height=");
526 b.append(node.getHeight());
528 - logger.debug(b.toString());
529 + logger.config(b.toString());
532 b = new StringBuffer();
535 b.append("- nodeLayoutProperties=");
536 b.append(node.getNodeLayoutProperties());
537 - logger.debug(b.toString());
538 + logger.config(b.toString());
541 private static void printText(final RenderableText text, final int level)
543 b.append(", text='");
544 b.append(text.getRawText());
546 - logger.debug(b.toString());
547 + logger.config(b.toString());
549 b = new StringBuffer();
550 for (int i = 0; i < level; i++)
553 b.append("- nodeLayoutProperties=");
554 b.append(text.getNodeLayoutProperties());
555 - logger.debug(b.toString());
556 + logger.config(b.toString());
560 diff -ru liblayout-0.2.10.orig/source/org/jfree/layouting/renderer/PrintingRenderer.java liblayout-0.2.10/source/org/jfree/layouting/renderer/PrintingRenderer.java
561 --- liblayout-0.2.10.orig/source/org/jfree/layouting/renderer/PrintingRenderer.java 2021-04-07 10:34:09.786045327 +0100
562 +++ liblayout-0.2.10/source/org/jfree/layouting/renderer/PrintingRenderer.java 2021-04-07 10:45:03.987095239 +0100
564 import org.jfree.layouting.layouter.context.LayoutContext;
565 import org.jfree.layouting.layouter.context.PageContext;
566 import org.jfree.layouting.normalizer.content.NormalizationException;
567 -import org.apache.commons.logging.LogFactory;
568 -import org.apache.commons.logging.Log;
569 +import java.util.logging.Logger;
572 * Creation-Date: 17.07.2006, 17:43:21
575 public class PrintingRenderer implements Renderer
577 - private static final Log logger = LogFactory.getLog(PrintingRenderer.class);
578 + private static final Logger logger = Logger.getLogger(PrintingRenderer.class.getName());
579 private static class PrintingRendererState implements State
581 private State parentState;
584 public void startedDocument(final PageContext pageContext)
586 - logger.debug ("<document>");
587 + logger.config("<document>");
588 parent.startedDocument(pageContext);
592 public void startedFlow(final LayoutContext context)
593 throws NormalizationException
595 - logger.debug ("<flow " +
596 + logger.config("<flow " +
597 "tag='" + context.getTagName() + "' namespace='" + context.getNamespace() + "'>");
598 parent.startedFlow(context);
601 public void startedTable(final LayoutContext context)
602 throws NormalizationException
604 - logger.debug ("<table " +
605 + logger.config("<table " +
606 "tag='" + context.getTagName() + "' namespace='" + context.getNamespace() + "'>");
607 parent.startedTable(context);
610 public void startedTableSection(final LayoutContext layoutContext)
611 throws NormalizationException
613 - logger.debug ("<table-section " +
614 + logger.config("<table-section " +
615 "tag='" + layoutContext.getTagName() + "' namespace='" + layoutContext.getNamespace() + "'>");
616 parent.startedTableSection(layoutContext);
619 public void startedTableRow(final LayoutContext layoutContext)
620 throws NormalizationException
622 - logger.debug ("<table-row " +
623 + logger.config("<table-row " +
624 "tag='" + layoutContext.getTagName() + "' namespace='" + layoutContext.getNamespace() + "'>");
625 parent.startedTableRow(layoutContext);
628 public void startedTableCell(final LayoutContext layoutContext)
629 throws NormalizationException
631 - logger.debug ("<table-cell " +
632 + logger.config("<table-cell " +
633 "tag='" + layoutContext.getTagName() + "' namespace='" + layoutContext.getNamespace() + "'>");
634 parent.startedTableCell(layoutContext);
637 public void startedBlock(final LayoutContext context)
638 throws NormalizationException
640 - logger.debug ("<block " +
641 + logger.config("<block " +
642 "tag='" + context.getTagName() + "' namespace='" + context.getNamespace() + "'>");
643 parent.startedBlock(context);
646 public void startedMarker(final LayoutContext context)
647 throws NormalizationException
649 - logger.debug ("<marker " +
650 + logger.config("<marker " +
651 "tag='" + context.getTagName() + "' namespace='" + context.getNamespace() + "'>");
652 parent.startedMarker(context);
655 public void startedRootInline(final LayoutContext context)
656 throws NormalizationException
658 - logger.debug ("<paragraph " +
659 + logger.config("<paragraph " +
660 "tag='" + context.getTagName() + "' namespace='" + context.getNamespace() + "'>");
661 parent.startedRootInline(context);
664 public void startedInline(final LayoutContext context)
665 throws NormalizationException
667 - logger.debug ("<inline " +
668 + logger.config("<inline " +
669 "tag='" + context.getTagName() + "' namespace='" + context.getNamespace() + "'>");
670 parent.startedInline(context);
672 @@ -175,93 +174,93 @@
673 final ContentToken content)
674 throws NormalizationException
676 - logger.debug ("<content>" + content + "</content>");
677 + logger.config("<content>" + content + "</content>");
678 parent.addContent(context, content);
681 public void finishedInline() throws NormalizationException
683 - logger.debug ("</inline>");
684 + logger.config("</inline>");
685 parent.finishedInline();
688 public void finishedRootInline() throws NormalizationException
690 - logger.debug ("</paragraph>");
691 + logger.config("</paragraph>");
692 parent.finishedRootInline();
695 public void finishedMarker() throws NormalizationException
697 - logger.debug ("</marker>");
698 + logger.config("</marker>");
699 parent.finishedMarker();
702 public void finishedBlock() throws NormalizationException
704 - logger.debug ("</block>");
705 + logger.config("</block>");
706 parent.finishedBlock();
709 public void finishedTableCell() throws NormalizationException
711 - logger.debug ("</table-cell>");
712 + logger.config("</table-cell>");
713 parent.finishedTableCell();
716 public void finishedTableRow() throws NormalizationException
718 - logger.debug ("</table-row>");
719 + logger.config("</table-row>");
720 parent.finishedTableRow();
723 public void finishedTableSection() throws NormalizationException
725 - logger.debug ("</table-section>");
726 + logger.config("</table-section>");
727 parent.finishedTableSection();
730 public void finishedTable() throws NormalizationException
732 - logger.debug ("</table>");
733 + logger.config("</table>");
734 parent.finishedTable();
737 public void finishedFlow() throws NormalizationException
739 - logger.debug ("</flow>");
740 + logger.config("</flow>");
741 parent.finishedFlow();
744 public void finishedDocument() throws NormalizationException
746 - logger.debug ("</document>");
747 + logger.config("</document>");
748 parent.finishedDocument();
751 public void startedTableColumnGroup(final LayoutContext context)
752 throws NormalizationException
754 - logger.debug ("<table-column-group>");
755 + logger.config("<table-column-group>");
756 parent.startedTableColumnGroup(context);
759 public void startedTableColumn(final LayoutContext context)
760 throws NormalizationException
762 - logger.debug ("<table-column>");
763 + logger.config("<table-column>");
764 parent.startedTableColumn(context);
767 public void finishedTableColumnGroup() throws NormalizationException
769 - logger.debug ("</table-column-group>");
770 + logger.config("</table-column-group>");
771 parent.finishedTableColumnGroup();
774 public void finishedTableColumn() throws NormalizationException
776 - logger.debug ("</table-column>");
777 + logger.config("</table-column>");
778 parent.finishedTableColumn();
781 @@ -274,14 +273,14 @@
783 public void handlePageBreak(final PageContext pageContext)
785 - logger.debug ("<!-- PAGEBREAK ENCOUNTERED -->");
786 + logger.config("<!-- PAGEBREAK ENCOUNTERED -->");
787 parent.handlePageBreak(pageContext);
790 public void startedPassThrough(final LayoutContext context)
791 throws NormalizationException
793 - logger.debug ("<pass-through>");
794 + logger.config("<pass-through>");
795 parent.startedPassThrough(context);
798 @@ -289,13 +288,13 @@
799 final ContentToken content)
800 throws NormalizationException
802 - logger.debug ("<pass-through-content>" + content + "</pass-through-content>");
803 + logger.config("<pass-through-content>" + content + "</pass-through-content>");
804 parent.addPassThroughContent(context, content);
807 public void finishedPassThrough() throws NormalizationException
809 - logger.debug ("</pass-through>");
810 + logger.config("</pass-through>");
811 parent.finishedPassThrough();
814 @@ -307,13 +306,13 @@
815 public void startedTableCaption(final LayoutContext context)
816 throws NormalizationException
818 - logger.debug ("<table-caption>");
819 + logger.config("<table-caption>");
820 parent.startedTableCaption(context);
823 public void finishedTableCaption() throws NormalizationException
825 - logger.debug ("</table-caption>");
826 + logger.config("</table-caption>");
827 parent.finishedTableCaption();
830 diff -ru liblayout-0.2.10.orig/source/org/jfree/layouting/util/AttributeMap.java liblayout-0.2.10/source/org/jfree/layouting/util/AttributeMap.java
831 --- liblayout-0.2.10.orig/source/org/jfree/layouting/util/AttributeMap.java 2021-04-07 10:34:09.787045339 +0100
832 +++ liblayout-0.2.10/source/org/jfree/layouting/util/AttributeMap.java 2021-04-07 10:48:57.444969193 +0100
834 import java.util.Iterator;
835 import java.util.Map;
837 -import org.apache.commons.logging.Log;
838 -import org.apache.commons.logging.LogFactory;
839 +import java.util.logging.Logger;
840 import org.pentaho.reporting.libraries.base.util.ObjectUtilities;
845 public class AttributeMap implements Serializable, Cloneable
847 - private static final Log logger = LogFactory.getLog(AttributeMap.class);
848 + private static final Logger logger = Logger.getLogger(AttributeMap.class.getName());
850 private static final long serialVersionUID = -7442871030874215436L;
851 private static final String[] EMPTY_NAMESPACES = new String[0];
856 - logger.error("Clone failed for ReportAttributeMap.createUnmodifiableMap", e);
857 + logger.severe("Clone failed for ReportAttributeMap.createUnmodifiableMap:" + e);
858 throw new IllegalStateException("Clone failed for ReportAttributeMap.createUnmodifiableMap");