odps-sdk/odps-sdk-graph/src/main/java/com/aliyun/odps/graph/DefaultComputingVertexResolver.java [209:222]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  protected Vertex<I, V, E, M> addVertexIfDesired(I vertexId,
                                                  VertexChanges<I, V, E, M> vertexChanges)
      throws IOException {
    Vertex<I, V, E, M> vertex = null;
    if (hasVertexAdditions(vertexChanges)) {
      if (vertexChanges.getAddedVertexList().size() > 1) {
        throw new IOException("ODPS-0730001: Add duplicate vertices for id: '"
                              + vertexId + "'");
      }
      vertex = vertexChanges.getAddedVertexList().get(0);
    }

    return vertex;
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



odps-sdk/odps-sdk-graph/src/main/java/com/aliyun/odps/graph/DefaultLoadingVertexResolver.java [192:205]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  protected Vertex<I, V, E, M> addVertexIfDesired(I vertexId,
                                                  VertexChanges<I, V, E, M> vertexChanges)
      throws IOException {
    Vertex<I, V, E, M> vertex = null;
    if (hasVertexAdditions(vertexChanges)) {
      if (vertexChanges.getAddedVertexList().size() > 1) {
        throw new IOException("ODPS-0730001: GraphLoader load duplicate vertices for id: '"
                              + vertexId + "'");
      }
      vertex = vertexChanges.getAddedVertexList().get(0);
    }

    return vertex;
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



