The deprecation warning for Graph.createEdge() is
caused in the graph package even if one of the
implementation classes in the graph package is
subclassed. The Graph.createEdge() method was
deprecated, but GraphImpl still implements the method.
Unless createEdge() is removed from the interface and
any implementation class in the graph package(s), the
warning will occur for any subclass that includes the
Graph interface or any of its derived interfaces in
its "implements" list.
Our code audit requires that no deprecation warnings
exist at release time. The only workaround we have at
this point is to create a copy of the graph package(s)
and modify.
Please either remove the method or remove the
deprecated keyword.