repositories
/
TP_POO.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
TP2: Finally make all Affichable implemented classes uniform.
[TP_POO.git]
/
Structure
/
Liste.java
diff --git
a/Structure/Liste.java
b/Structure/Liste.java
index b31d0816218f2db6028c5edf8ff4ac14a5392852..da22d8afa47ba9d7a5b021009acde7a4c2e9058e 100644
(file)
--- a/
Structure/Liste.java
+++ b/
Structure/Liste.java
@@
-120,7
+120,7
@@
public class Liste extends Structure {
public void afficher() {
System.out.println("---- liste ----");
if (isEmpty()) {
-
System.out.println("Liste vide")
;
+
return
;
} else if (headNode.getNext() == null) {
System.out.println("element 0 : " + headNode.getData());
} else {