From: Kevin Lamonte Date: Thu, 22 Aug 2019 18:45:06 +0000 (-0500) Subject: make private X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=710d9525a59ab15b4519ac17adc21999a0fcd9de;p=nikiroo-utils.git make private --- diff --git a/src/jexer/layout/BoxLayoutManager.java b/src/jexer/layout/BoxLayoutManager.java index 8e7a01e..057127f 100644 --- a/src/jexer/layout/BoxLayoutManager.java +++ b/src/jexer/layout/BoxLayoutManager.java @@ -137,7 +137,7 @@ public class BoxLayoutManager implements LayoutManager { * Resize/reposition child widgets based on horizontal/vertical * arrangement. */ - public void layoutChildren() { + private void layoutChildren() { if (children.size() == 0) { return; } diff --git a/src/jexer/layout/StretchLayoutManager.java b/src/jexer/layout/StretchLayoutManager.java index 3dea86a..ee2bf5a 100644 --- a/src/jexer/layout/StretchLayoutManager.java +++ b/src/jexer/layout/StretchLayoutManager.java @@ -144,7 +144,7 @@ public class StretchLayoutManager implements LayoutManager { * Resize/reposition child widgets based on difference between current * dimensions and the original dimensions. */ - public void layoutChildren() { + private void layoutChildren() { double widthRatio = (double) width / originalWidth; if (!Double.isFinite(widthRatio)) { widthRatio = 1;