From: Jérôme Benoit Date: Thu, 5 Apr 2018 21:56:52 +0000 (+0200) Subject: More code cleanup. X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=e4d1c9093a593f6389fd28b044eeca782352f063;p=TP_POO.git More code cleanup. Signed-off-by: Jérôme Benoit --- diff --git a/Structure/Entiers.java b/Structure/Entiers.java index 80fcc90..05ffb59 100644 --- a/Structure/Entiers.java +++ b/Structure/Entiers.java @@ -67,7 +67,7 @@ class Entiers extends Structure { return middle; else if (value > int_array[middle]) return binarySearch((middle + 1), last, value); - return binarySearch(first, (middle -1), value); + return binarySearch(first, (middle - 1), value); } public boolean supprimer(int value) {