m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorMagdalena Grodzińska <mag.grodzinska@gmail.com>2020-01-29 21:35:26 +0100
committerMagdalena Grodzińska <mag.grodzinska@gmail.com>2020-01-29 21:35:26 +0100
commitebad8e2dc7c84ee392d87dd5fbdec2d38727792c (patch)
treea6a510d0c689d6695420da32d75ddd5d537b4edf /src/main
parentfce948560bdd05bc7750c53c694cb2e3878b825f (diff)
Fix idents
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/pl/edu/mimuw/cloudatlas/agent/HierarchyConfig.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/main/java/pl/edu/mimuw/cloudatlas/agent/HierarchyConfig.java b/src/main/java/pl/edu/mimuw/cloudatlas/agent/HierarchyConfig.java
index 71ccf3d..a1fc7ab 100644
--- a/src/main/java/pl/edu/mimuw/cloudatlas/agent/HierarchyConfig.java
+++ b/src/main/java/pl/edu/mimuw/cloudatlas/agent/HierarchyConfig.java
@@ -66,7 +66,7 @@ public class HierarchyConfig {
System.out.println("Interrupted while initiating gossip");
} catch (Exception e) {
System.out.println("ERROR: something happened " + e.toString());
- e.printStackTrace();
+ e.printStackTrace();
}
}
};
@@ -150,7 +150,7 @@ public class HierarchyConfig {
List<ZMI> siblingsImm = root.findDescendant(path).getFather().getSons();
List<ZMI> siblings = new ArrayList();
for (ZMI siblingOrI : siblingsImm) {
- siblings.add(siblingOrI);
+ siblings.add(siblingOrI);
}
return siblings;
} catch (ZMI.NoSuchZoneException e) {
@@ -166,8 +166,7 @@ public class HierarchyConfig {
ValueSet contacts = (ValueSet) zmi.getAttributes().getOrNull("contacts");
if (contacts == null || contacts.isNull() || contacts.isEmpty() || onlyContactIsUs(contacts)) {
iterator.remove();
- } else {
- }
+ }
}
}