[ 
https://issues.apache.org/jira/browse/SANDBOX-336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13059021#comment-13059021
 ] 

Marco Speranza commented on SANDBOX-336:
----------------------------------------

OK Simo.. I've a proposal a little bit "vintage" :-)  
If addEdge() returned a boolean, true if the insert has been done, false 
otherwise, the users wouldn't force to manage/shallow the exception. 

WDYT?

Ciao ciao have a nice week-end ;-)

> [Graph] Duplicate Edge  
> ------------------------
>
>                 Key: SANDBOX-336
>                 URL: https://issues.apache.org/jira/browse/SANDBOX-336
>             Project: Commons Sandbox
>          Issue Type: Bug
>          Components: Graph
>            Reporter: Marco Speranza
>         Attachments: missingControllAlreadyExistEdge.patch
>
>
> The method  BaseMutableGraph#addEdge does not check if the edge already 
> exists.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to