Skip to content

Commit

Permalink
Fix incorrect formatting for some javadoc (#283)
Browse files Browse the repository at this point in the history
Fixing some javadoc badly formatted, having text diagram not in `<pre/>` for render.
Signed-off-by: Tristan Chuine <[email protected]>
  • Loading branch information
Tristan-WorkGH authored Jul 11, 2023
1 parent 7ca9878 commit 3aa9942
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -270,16 +270,19 @@ public static Network createMixedTopology(UUID uuid) {
}

/**
* VL1 VL2 VL3
* Create a network as following:
* <pre>
* VL1 VL2 VL3
*
* ld1 g2 ld3
* | | |
* br1 br2 br3
* | | |
* d1 d2 d3
* | | |
* d1 d2 d3
* | | |
* bbs1 ----------bbs2------------bbs3
* l1 l2
* l1 l2
* </pre>
*/
public static Network createForDeleteVoltageLevelOnLine(UUID uuid) {
Network network = new NetworkFactoryImpl().createNetwork(uuid.toString(), "NetworkForDeleteVoltageLevelOnLine");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,27 +29,29 @@ public static Network create(UUID uuid) {
}

/**
* VL1 VL2 VL3
* Create a network as following:
* <pre>
* VL1 VL2 VL3
*
* ld1 g2 ld3
* | | |
* br1 br2 br3
* | | |
* d1 d2 d3
* | | |
* d1 d2 d3
* | | |
* bbs1 ----------bbs2------------bbs3
* l1 | l2
* l1 | l2
* | l3
* |
* bbs4 VL4
* |
* |
* d4
* |
* |
* br4
* |
* |
* ld4
* </pre>
*/

public static Network create(UUID uuid, NetworkFactory networkFactory) {
Network network = networkFactory.createNetwork(uuid.toString(), "NetworkWithTeePoint");

Expand Down

0 comments on commit 3aa9942

Please sign in to comment.