From: Jérôme Benoit Date: Sun, 4 Mar 2018 18:32:27 +0000 (+0100) Subject: TP2: coding style fixlet. X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=39d7332090951dc583cd3039fd6b18b809a88693;p=TP_POO.git TP2: coding style fixlet. Signed-off-by: Jérôme Benoit --- diff --git a/TP2/Liste.java b/TP2/Liste.java index ceab499..344a2d3 100644 --- a/TP2/Liste.java +++ b/TP2/Liste.java @@ -150,7 +150,7 @@ public class Liste extends Structure { IntNode nodeCursor = headNode; int i = 0; // Go to the node at the nElements place - while (i < nElements -1 && nodeCursor.getNext() != null && nElements > 1) { + while (i < nElements - 1 && nodeCursor.getNext() != null && nElements > 1) { nodeCursor = nodeCursor.getNext(); i++; }