From: Jérôme Benoit Date: Sat, 12 Jan 2019 14:53:42 +0000 (+0100) Subject: Code cleanup : fix C style array declaration. X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=fa0086ca7eb737d3d8d0370387584fd13cb96c02;p=TP_POO.git Code cleanup : fix C style array declaration. Signed-off-by: Jérôme Benoit --- diff --git a/Entiers/Entiers.java b/Entiers/Entiers.java index 70f4248..4eddd73 100644 --- a/Entiers/Entiers.java +++ b/Entiers/Entiers.java @@ -1,6 +1,6 @@ class Entiers { - private int int_array[]; + private int[] int_array; private int array_size; private int current_size; diff --git a/Piles/Pile.java b/Piles/Pile.java index 07c5a77..ccd9fa7 100644 --- a/Piles/Pile.java +++ b/Piles/Pile.java @@ -3,7 +3,7 @@ * */ public class Pile { - private int int_array[]; + private int[] int_array; private int array_size; private int head_index; diff --git a/Structure/Entiers.java b/Structure/Entiers.java index 05ffb59..a98c79c 100644 --- a/Structure/Entiers.java +++ b/Structure/Entiers.java @@ -1,6 +1,6 @@ class Entiers extends Structure { - private int int_array[]; + private int[] int_array; private int array_size; private int current_size; diff --git a/TP2/Entiers.java b/TP2/Entiers.java index b11f364..6c840df 100644 --- a/TP2/Entiers.java +++ b/TP2/Entiers.java @@ -4,7 +4,7 @@ date = "05/03/2009" ) class Entiers extends Structure { - private int int_array[]; + private int[] int_array; private int array_size; private int current_size;