From 39d7332090951dc583cd3039fd6b18b809a88693 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sun, 4 Mar 2018 19:32:27 +0100 Subject: [PATCH] TP2: coding style fixlet. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- TP2/Liste.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++; } -- 2.34.1