From f161b369ec72fe901f03e15a1411c98eaffc32db Mon Sep 17 00:00:00 2001 From: weisj <31143295+weisJ@users.noreply.github.com> Date: Tue, 23 Feb 2021 23:50:37 +0100 Subject: [PATCH] Mark more log statements as level=Finer. --- .../weisj/darklaf/ui/cell/hint/CellHintPopupListener.java | 6 +++--- .../java/com/github/weisj/darklaf/icons/DarkSVGIcon.java | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/src/main/java/com/github/weisj/darklaf/ui/cell/hint/CellHintPopupListener.java b/core/src/main/java/com/github/weisj/darklaf/ui/cell/hint/CellHintPopupListener.java index d9eedecf..79254376 100644 --- a/core/src/main/java/com/github/weisj/darklaf/ui/cell/hint/CellHintPopupListener.java +++ b/core/src/main/java/com/github/weisj/darklaf/ui/cell/hint/CellHintPopupListener.java @@ -96,12 +96,12 @@ public class CellHintPopupListener extends MouseInputAd final Rectangle cellBounds = cellContainer.getCellBoundsAt(index, isEditing); if (cellBounds != null && allocation != null) { final Rectangle visibleBounds = allocation.intersection(cellBounds); - LOGGER.fine(() -> "Visible bounds at index " + index + ": " + visibleBounds); + LOGGER.finer(() -> "Visible bounds at index " + index + ": " + visibleBounds); if (visibleBounds.contains(p)) { if (isPopupNeeded(index, isEditing, visibleBounds)) { Point popupLocation = cellContainer.getComponent().getLocationOnScreen(); Rectangle popupBounds = calculatePopupBounds(cellBounds, visibleBounds, !isEditing); - LOGGER.fine(() -> "Popup bounds at index " + index + ": " + popupBounds); + LOGGER.finer(() -> "Popup bounds at index " + index + ": " + popupBounds); if (!visibleBounds.contains(popupBounds)) { cellBounds.x = popupBounds.x - cellBounds.x; cellBounds.y = popupBounds.y - cellBounds.y; @@ -126,7 +126,7 @@ public class CellHintPopupListener extends MouseInputAd private boolean isPopupNeeded(final I index, final boolean isEditing, final Rectangle visibleBounds) { final Component comp = cellContainer.getEffectiveCellRendererComponent(index, isEditing); final Dimension prefSize = getPreferredSize(isEditing, comp); - LOGGER.fine(() -> "Necessary cell size at index " + index + ": " + prefSize); + LOGGER.finer(() -> "Necessary cell size at index " + index + ": " + prefSize); return !fitsInside(prefSize, visibleBounds); } diff --git a/property-loader/src/main/java/com/github/weisj/darklaf/icons/DarkSVGIcon.java b/property-loader/src/main/java/com/github/weisj/darklaf/icons/DarkSVGIcon.java index 5af98c4e..6db2ee6b 100644 --- a/property-loader/src/main/java/com/github/weisj/darklaf/icons/DarkSVGIcon.java +++ b/property-loader/src/main/java/com/github/weisj/darklaf/icons/DarkSVGIcon.java @@ -330,7 +330,7 @@ public class DarkSVGIcon implements DerivableIcon, RotateIcon, Seri } } setDisplaySize(width, height); - LOGGER.fine(() -> "Inferred size of icon '" + getName(uri) + "' to " + iconSize); + LOGGER.finer(() -> "Inferred size of icon '" + getName(uri) + "' to " + iconSize); } }