From 1f2903272e5bfd873747d60da316565759b8911d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjist=C3=B3f?= Date: Sat, 23 Apr 2016 13:24:26 +0200 Subject: [PATCH] removed terrible abusion of underscore paradigm in Scale ctor. --- cicaprojekt/Scale.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cicaprojekt/Scale.java b/cicaprojekt/Scale.java index 1dfb422..6c2b9ba 100644 --- a/cicaprojekt/Scale.java +++ b/cicaprojekt/Scale.java @@ -8,11 +8,11 @@ public class Scale extends Field { private int threshold; private int weight; - public Scale(Gate gate, int _threshold){ + public Scale(Gate gate, int threshold){ Menu.addTab(); System.out.println(">" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Scale.Scale(" + gate + ")"); gateConnected = gate; - threshold = _threshold; + this.threshold = threshold; itemsOnTile = new Stack(); System.out.println("<" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Scale.Scale()"); Menu.removeTab();