Skip to content

Commit 1592a00

Browse files
authored
[releng] fixed since tags in GraphContainer & GraphConnection (#304)
1 parent da30f06 commit 1592a00

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

org.eclipse.zest.core/src/org/eclipse/zest/core/widgets/GraphConnection.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public GraphConnection(Graph graphModel, int style, GraphNode source, GraphNode
104104
}
105105

106106
/**
107-
* @since 1.9
107+
* @since 1.10
108108
*/
109109
public void registerConnection(GraphNode source, GraphNode destination) {
110110
if (source.getSourceConnections().contains(this)) {

org.eclipse.zest.core/src/org/eclipse/zest/core/widgets/GraphContainer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -541,15 +541,15 @@ public void setLayoutAlgorithm(LayoutAlgorithm algorithm, boolean applyLayout) {
541541
}
542542

543543
/**
544-
* @since 1.9
544+
* @since 1.10
545545
*/
546546
public LayoutAlgorithm getLayoutAlgorithm() {
547547
return this.layoutAlgorithm;
548548
}
549549

550550
@Override
551551
public void applyLayout() {
552-
if ((this.getNodes().size() == 0)) {
552+
if ((this.getNodes().isEmpty())) {
553553
return;
554554
}
555555

0 commit comments

Comments
 (0)