2,9 → 2,8 |
|
import java.util.ArrayList; |
import java.util.Date; |
import java.util.List; |
|
import com.sun.xml.internal.bind.v2.runtime.unmarshaller.XsiNilLoader.Array; |
|
public class Commentaire { |
|
|
14,7 → 13,7 |
|
private String commentaire; |
|
private ArrayList<Commentaire> listeCommentaires = new ArrayList<Commentaire>(); |
private List<Commentaire> listeCommentaires = new ArrayList<Commentaire>(); |
|
public Commentaire(String auteur, Date date, String commentaire) { |
super(); |
47,7 → 46,7 |
this.commentaire = commentaire; |
} |
|
public ArrayList<Commentaire> getListeCommentaires() { |
public List<Commentaire> getListeCommentaires() { |
return listeCommentaires; |
} |
|