From: Jérôme Benoit Date: Thu, 8 Feb 2018 21:33:57 +0000 (+0100) Subject: Minor code cleanups. X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=130dab91b14abad98f4490d1119df42033011e7e;p=TP_POO.git Minor code cleanups. Signed-off-by: Jérôme Benoit --- diff --git a/Listes/Liste.java b/Listes/Liste.java index 6a62aea..3b03590 100644 --- a/Listes/Liste.java +++ b/Listes/Liste.java @@ -37,7 +37,7 @@ class Liste { private int list_counter; Liste() { - setheadNode(null); + setHeadNode(null); setSize(0); } @@ -54,11 +54,11 @@ class Liste { list_counter = size; } - private void setheadNode(IntNode node) { + private void setHeadNode(IntNode node) { headNode = node; } - private IntNode getheadNode() { + private IntNode getHeadNode() { return headNode; }