Modification du style de code
This commit is contained in:
parent
65f4ba4a00
commit
4fd1457843
3 changed files with 3 additions and 2 deletions
|
|
@ -8,6 +8,7 @@ public class Comptabilite {
|
||||||
public Comptabilite(String pComptabilite) {
|
public Comptabilite(String pComptabilite) {
|
||||||
this.comptabilite = pComptabilite;
|
this.comptabilite = pComptabilite;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void traite(String contenu) {
|
public void traite(String contenu) {
|
||||||
System.out.println("comptabilité:" + contenu.toString().toLowerCase());
|
System.out.println("comptabilité:" + contenu.toString().toLowerCase());
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,8 @@ public class GestionDeStock {
|
||||||
public GestionDeStock(String pGestionStock) {
|
public GestionDeStock(String pGestionStock) {
|
||||||
this.gestionStock = pGestionStock;
|
this.gestionStock = pGestionStock;
|
||||||
}
|
}
|
||||||
public void traite(String contenu) {
|
|
||||||
|
|
||||||
|
public void traite(String contenu) {
|
||||||
System.out.println("G.DES.STOCKS:" + contenu.toString().toUpperCase());
|
System.out.println("G.DES.STOCKS:" + contenu.toString().toUpperCase());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ public class Panier {
|
||||||
|
|
||||||
public String getContenu() {
|
public String getContenu() {
|
||||||
return this.contenu;
|
return this.contenu;
|
||||||
};
|
}
|
||||||
|
|
||||||
public void declencherCommande() {
|
public void declencherCommande() {
|
||||||
this.stock.traite(this.contenu);
|
this.stock.traite(this.contenu);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue