namen richtig
This commit is contained in:
parent
c0aa739bc2
commit
9e4de004e6
|
@ -136,11 +136,11 @@ public class KlausurenServer {
|
||||||
}
|
}
|
||||||
|
|
||||||
synchronized void save() {
|
synchronized void save() {
|
||||||
FileOutputStream fileWriter;
|
FileOutputStream fileOutputStream;
|
||||||
PrintWriter printWriter = null;
|
PrintWriter printWriter = null;
|
||||||
try {
|
try {
|
||||||
fileWriter = new FileOutputStream(getClass().getClassLoader().getResource("praktikum4/data.txt").getFile());
|
fileOutputStream = new FileOutputStream(getClass().getClassLoader().getResource("praktikum4/data.txt").getFile());
|
||||||
printWriter = new PrintWriter(fileWriter);
|
printWriter = new PrintWriter(fileOutputStream);
|
||||||
|
|
||||||
for (Map.Entry<String, TreeSet<Integer>> entry : data.entrySet()) {
|
for (Map.Entry<String, TreeSet<Integer>> entry : data.entrySet()) {
|
||||||
StringBuilder tmp = new StringBuilder(entry.getKey());
|
StringBuilder tmp = new StringBuilder(entry.getKey());
|
||||||
|
|
Loading…
Reference in New Issue