repositories
/
TP_POO.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add the Compactable interface.
[TP_POO.git]
/
TP2
/
Piletransformations.java
diff --git
a/TP2/Piletransformations.java
b/TP2/Piletransformations.java
index 6d25095deba9637895880629417389fdcaeedad7..5e53ddd7e3500a9fe421ab290b388a4478658075 100644
(file)
--- a/
TP2/Piletransformations.java
+++ b/
TP2/Piletransformations.java
@@
-52,7
+52,7
@@
class Piletransformations {
public void display() {
System.out.println("----");
public void display() {
System.out.println("----");
- for (int i = 0; i <
transformations.length
; i++) {
+ for (int i = 0; i <
currentTransformation
; i++) {
System.out.println(transformations[i].toString());
}
}
System.out.println(transformations[i].toString());
}
}