Hi all guys, I notice that the methods "getConnectedVertices( V v )" and "getEdge( V source, V target )" into the class BaseGraph are not protect if a user passes a vertex that not exists. Moreover in the first case the system throws a NPE and in the second case the system accepts the argument but return a null value to the user.
Should it be a good idea put a control and throw a IllegalArgumentEx in both cases? WDYT? Ciao -- Marco Speranza <marcosperanza@ <marco.speranz...@gmail.com>apache.org> Google Code: http://code.google.com/u/marco.speranza79/