Skip to content

Commit

Permalink
Merge pull request jgrapht#104 from altenbernd/missing-annotations-or…
Browse files Browse the repository at this point in the history
…g.jgrapht.event

Add missing Override and Deprecated annotations in org.jgrapht.event
  • Loading branch information
jsichi committed Dec 11, 2014
2 parents 32a2502 + d075b2d commit 1622321
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ public class GraphEdgeChangeEvent<V, E>
*
* @deprecated Use new constructor which takes vertex parameters.
*/
@Deprecated
public GraphEdgeChangeEvent(
Object eventSource,
int type,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ public class TraversalListenerAdapter<V, E>
/**
* @see TraversalListener#connectedComponentFinished(ConnectedComponentTraversalEvent)
*/
@Override
public void connectedComponentFinished(
ConnectedComponentTraversalEvent e)
{
Expand All @@ -61,27 +62,31 @@ public void connectedComponentFinished(
/**
* @see TraversalListener#connectedComponentStarted(ConnectedComponentTraversalEvent)
*/
@Override
public void connectedComponentStarted(ConnectedComponentTraversalEvent e)
{
}

/**
* @see TraversalListener#edgeTraversed(EdgeTraversalEvent)
*/
@Override
public void edgeTraversed(EdgeTraversalEvent<V, E> e)
{
}

/**
* @see TraversalListener#vertexTraversed(VertexTraversalEvent)
*/
@Override
public void vertexTraversed(VertexTraversalEvent<V> e)
{
}

/**
* @see TraversalListener#vertexFinished(VertexTraversalEvent)
*/
@Override
public void vertexFinished(VertexTraversalEvent<V> e)
{
}
Expand Down

0 comments on commit 1622321

Please sign in to comment.