From 6eab5dfa9c52539d11a893759e5d680a28d5c689 Mon Sep 17 00:00:00 2001 From: Kenneth van Ewijk Date: Fri, 17 Oct 2014 10:25:14 +0200 Subject: [PATCH] Improved Security --- DewPoint.java | 2 +- Grootheid.java | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/DewPoint.java b/DewPoint.java index 3594052..69652bb 100644 --- a/DewPoint.java +++ b/DewPoint.java @@ -21,7 +21,7 @@ public class DewPoint extends Grootheid } public void display(){ - GUIboard.writeUpperDigits(current); + GUIboard.writeUpperDigits(getCurrent()); GUIboard.writePageToMatrix("Dauwpunt", "Gemiddelde: " + getAvg(), ""); } diff --git a/Grootheid.java b/Grootheid.java index 0e1bf5c..3732586 100644 --- a/Grootheid.java +++ b/Grootheid.java @@ -3,10 +3,10 @@ import java.util.ArrayList; public class Grootheid { // instance variables - replace the example below with your own - public double avg; - public double max; - public double min; - public double current; + private double avg; + private double max; + private double min; + private double current; //constructor public Grootheid(){