commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marco Speranza (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SANDBOX-336) [Graph] Duplicate Edge
Date Sat, 02 Jul 2011 12:47:28 GMT

    [ 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

        

Mime
View raw message