Skip to content

Commit 601cda7

Browse files
committed
Rename UIUtils.reset() to more descriptive UIUtils.resetPropertyCaches()
1 parent b6d1700 commit 601cda7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/bdv/ui/UIUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ else if (key.contains("large"))
220220
/**
221221
* Resets the caches for {@link #getUIScaleFactor}.
222222
*/
223-
public static void reset()
223+
public static void resetPropertyCaches()
224224
{
225225
uiScaleFactors.clear();
226226
}

src/main/java/bdv/ui/appearance/AppearanceManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public void updateLookAndFeel()
102102
return;
103103
try
104104
{
105-
UIUtils.reset();
105+
UIUtils.resetPropertyCaches();
106106

107107
UIManager.setLookAndFeel( laf.getClassName() );
108108

0 commit comments

Comments
 (0)