$
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
Manifest-Version: 1.0
|
||||
Main-Class: Test.TestTexteMNP
|
||||
|
@@ -39,7 +39,7 @@ public class AbstractChangementFactoryNP implements AbstractChangementFactory {
|
||||
// la méthode value() d'un hashmap retourne la collection des valeurs.
|
||||
// Il faut transformer la collection en Set.
|
||||
// Un constructeur de HashSet permet de faire cette opération.
|
||||
Set<Changement> out = new HashSet(this.brain.values());
|
||||
Set<Changement> out = new HashSet<>(this.brain.values());
|
||||
return out;
|
||||
}
|
||||
|
||||
|
@@ -69,7 +69,7 @@ public class ProfView extends BFrame implements ActionListener {
|
||||
groupeList[i] = this.g.get(i).getName();
|
||||
}
|
||||
|
||||
this.groupeOption = new JComboBox(groupeList);
|
||||
this.groupeOption = new JComboBox<>(groupeList);
|
||||
this.groupeOption.setPreferredSize(new Dimension(110, 30));
|
||||
this.add(groupeOption, settings);
|
||||
|
||||
|
Reference in New Issue
Block a user