Skip to content

Commit

Permalink
Remove lingering slf4j references
Browse files Browse the repository at this point in the history
  • Loading branch information
tresf committed Nov 7, 2023
1 parent 7ee9ae0 commit 06567ab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/qz/printer/rendering/PdfFontPageDrawer.java
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
package qz.printer.rendering;


import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.apache.pdfbox.pdmodel.common.PDStream;
import org.apache.pdfbox.pdmodel.font.*;
import org.apache.pdfbox.rendering.PageDrawer;
import org.apache.pdfbox.rendering.PageDrawerParameters;
import org.apache.pdfbox.util.Matrix;
import org.apache.pdfbox.util.Vector;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.awt.*;
import java.awt.geom.AffineTransform;
Expand All @@ -23,7 +23,7 @@

public class PdfFontPageDrawer extends PageDrawer {

private static final Logger log = LoggerFactory.getLogger(PdfFontPageDrawer.class);
private static final Logger log = LogManager.getLogger(PdfFontPageDrawer.class);

private String fallbackFont = "helvetica"; //todo - definable parameter?
private final Map<PDFont,Font> fonts = new HashMap<>();
Expand Down
6 changes: 3 additions & 3 deletions src/qz/utils/PrefsSearch.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package qz.utils;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import qz.installer.certificate.CertificateManager;
import qz.installer.certificate.KeyPairWrapper;

Expand All @@ -14,7 +14,7 @@
* Convenience class for searching for preferences on a user, app and <code>System.getProperty(...)</code> level
*/
public class PrefsSearch {
protected static final Logger log = LoggerFactory.getLogger(PrefsSearch.class);
private static final Logger log = LogManager.getLogger(PrefsSearch.class);
private static Properties appProps = null;

private static String getProperty(String[] names, String defaultVal, boolean searchSystemProperties, Properties ... propArray) {
Expand Down

0 comments on commit 06567ab

Please sign in to comment.