Update Pruefungsverwaltung.java

Use diamond notation <>
Use interface instead of class for instance variable
This commit is contained in:
Marion Mürner
2019-09-13 09:35:28 +02:00
committed by GitHub Enterprise
parent 741a85bc47
commit c8d773a0ac
+2 -2
View File
@@ -10,8 +10,8 @@ import java.util.HashMap;
*
*/
public class Pruefungsverwaltung {
private ArrayList<Pruefungsergebnis> ergebnisse = new ArrayList<Pruefungsergebnis>();
private HashMap<Double, String> noteVonZahlZuText = new HashMap<Double, String>();
private List<Pruefungsergebnis> ergebnisse = new ArrayList<>();
private Map<Double, String> noteVonZahlZuText = new HashMap<>();
public Pruefungsverwaltung() {
init();