From 710d9525a59ab15b4519ac17adc21999a0fcd9de Mon Sep 17 00:00:00 2001 From: Kevin Lamonte Date: Thu, 22 Aug 2019 13:45:06 -0500 Subject: [PATCH] make private --- src/jexer/layout/BoxLayoutManager.java | 2 +- src/jexer/layout/StretchLayoutManager.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.27.0