From f5d4e736c12f5582d4bb03ef0ee83d761872c2c1 Mon Sep 17 00:00:00 2001 From: Orange Date: Mon, 21 Nov 2016 11:37:41 +0100 Subject: [PATCH] fix --- src/AziendaExtends/Operaio.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AziendaExtends/Operaio.java b/src/AziendaExtends/Operaio.java index 622b925..a9759ea 100644 --- a/src/AziendaExtends/Operaio.java +++ b/src/AziendaExtends/Operaio.java @@ -24,7 +24,7 @@ public class Operaio extends Dipendente{ if(oreLavoro>165) return ((oreLavoro-165)*0.3+165)*super.getPaga(); else - return oreLavoro*super.getPaga(); + return super.calcoloPaga(); } public static Operaio read(Scanner sc) throws Exception{