Skip to content

Commit

Permalink
[releng] fixed since tags in GraphContainer & GraphConnection (#304)
Browse files Browse the repository at this point in the history
  • Loading branch information
azoitl committed Nov 22, 2023
1 parent da30f06 commit 1592a00
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public GraphConnection(Graph graphModel, int style, GraphNode source, GraphNode
}

/**
* @since 1.9
* @since 1.10
*/
public void registerConnection(GraphNode source, GraphNode destination) {
if (source.getSourceConnections().contains(this)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -541,15 +541,15 @@ public void setLayoutAlgorithm(LayoutAlgorithm algorithm, boolean applyLayout) {
}

/**
* @since 1.9
* @since 1.10
*/
public LayoutAlgorithm getLayoutAlgorithm() {
return this.layoutAlgorithm;
}

@Override
public void applyLayout() {
if ((this.getNodes().size() == 0)) {
if ((this.getNodes().isEmpty())) {
return;
}

Expand Down

0 comments on commit 1592a00

Please sign in to comment.