mbien commented on code in PR #5819:
URL: https://github.com/apache/netbeans/pull/5819#discussion_r1164399858


##########
platform/api.visual/src/org/netbeans/modules/visual/layout/ConnectionWidgetLayout.java:
##########
@@ -86,7 +86,7 @@ public void layout (Widget widget) {
 
         connectionWidget.calculateRouting ();
         java.util.List<Point> controlPoints = 
connectionWidget.getControlPoints ();
-        boolean empty = controlPoints == null  ||  controlPoints.size () <= 0;
+        boolean empty = controlPoints == null  ||  controlPoints.size () <= 1;

Review Comment:
   yeah this does indeed look like a bug



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to