aboutsummaryrefslogtreecommitdiff
path: root/Info
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2023-06-11 11:55:22 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2023-06-11 11:55:22 +0200
commit160a69856247322e4a07bc1a313cb73338de0275 (patch)
tree74d6166d11ccffb67315ede959776986692291c5 /Info
parentf94132923c67903b1a2ec54aefb0273d232e7ede (diff)
downloadunterricht-160a69856247322e4a07bc1a313cb73338de0275.tar.gz
unterricht-160a69856247322e4a07bc1a313cb73338de0275.zip
fix whitespace errors
Diffstat (limited to 'Info')
-rwxr-xr-xInfo/10/2/Prison/GEFAENGNIS.java8
-rwxr-xr-xInfo/10/2/Prison/WACHE.java2
-rwxr-xr-xInfo/10/2/Prison/ZELLE.java2
3 files changed, 6 insertions, 6 deletions
diff --git a/Info/10/2/Prison/GEFAENGNIS.java b/Info/10/2/Prison/GEFAENGNIS.java
index 86c1f272..f6686135 100755
--- a/Info/10/2/Prison/GEFAENGNIS.java
+++ b/Info/10/2/Prison/GEFAENGNIS.java
@@ -7,7 +7,7 @@ public class GEFAENGNIS
{
zellen = new ZELLE[zellenAnzahl];
wachen = new WACHE[zellenAnzahl];
-
+
for(int i = 0; i < zellenAnzahl; i++) {
zellen[i] = new ZELLE();
wachen[i] = new WACHE(i + 1);
@@ -21,15 +21,15 @@ public class GEFAENGNIS
wachen[i].Besuche(j + 1, zellen[j]);
}
}
-
+
String ausgabe = "";
-
+
for (int i = 0; i < zellen.length; i++) {
if (!zellen[i].IstVersperrt()) {
ausgabe += i + 1 + ", ";
}
}
-
+
System.out.println(ausgabe);
}
diff --git a/Info/10/2/Prison/WACHE.java b/Info/10/2/Prison/WACHE.java
index 03d3b7f1..068e07b5 100755
--- a/Info/10/2/Prison/WACHE.java
+++ b/Info/10/2/Prison/WACHE.java
@@ -6,7 +6,7 @@ public class WACHE
{
id = nummer;
}
-
+
public void Besuche(int zellenNummer, ZELLE zelle)
{
if (zellenNummer % id == 0) {
diff --git a/Info/10/2/Prison/ZELLE.java b/Info/10/2/Prison/ZELLE.java
index f698c73c..96ee4d61 100755
--- a/Info/10/2/Prison/ZELLE.java
+++ b/Info/10/2/Prison/ZELLE.java
@@ -15,7 +15,7 @@ public class ZELLE
versperrt = true;
}
}
-
+
public boolean IstVersperrt() {
return versperrt;
}