Skip to content

Commit

Permalink
Indent
Browse files Browse the repository at this point in the history
  • Loading branch information
grafnu committed Jan 14, 2025
1 parent 94a05e8 commit 95617d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ credentials.json
__pycache__/
/tests/sites/*/out/
/tests/sites/*/devices/*/out/
/tests/sites/basic/extras/
/udmi_*.log

.vscode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,15 +180,14 @@ private void downgradeLocalnetTo_1_4_1_From_1_5_0() {

// Create localnet block
if (!message.has("localnet")) {
message.put("localnet", new ObjectNode(NODE_FACTORY));
message.put("localnet", new ObjectNode(NODE_FACTORY));
}
ObjectNode localnet = (ObjectNode) message.get("localnet");
ObjectNode localnetFamilies = (ObjectNode) localnet.get("families");

localnetFamilies.set(targetFamily, new ObjectNode(NODE_FACTORY));
ObjectNode localnetFamily = (ObjectNode) localnetFamilies.get(targetFamily);
localnetFamily.put("addr", targetAddr);

}

private void downgradeLocalnetTo_1_3_13_From_1_4_1() {
Expand All @@ -206,7 +205,6 @@ private void downgradeLocalnetTo_1_3_13_From_1_4_1() {
}
});
}

}

private void downgradeLocalnetTo_1_From_1_3_13() {
Expand Down

0 comments on commit 95617d5

Please sign in to comment.