Skip to content

Commit

Permalink
[hotfix] Remove unused method JobEdge#connectDataSet
Browse files Browse the repository at this point in the history
  • Loading branch information
Thesharing authored and zhuzhurk committed Aug 11, 2021
1 parent 8e2a085 commit dbfe2c6
Showing 1 changed file with 0 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,23 +145,6 @@ public boolean isIdReference() {

// --------------------------------------------------------------------------------------------

public void connectDataSet(IntermediateDataSet dataSet) {
if (dataSet == null) {
throw new NullPointerException();
}
if (this.source != null) {
throw new IllegalStateException("The edge is already connected.");
}
if (!dataSet.getId().equals(sourceId)) {
throw new IllegalArgumentException(
"The data set to connect does not match the sourceId.");
}

this.source = dataSet;
}

// --------------------------------------------------------------------------------------------

/**
* Gets the name of the ship strategy for the represented input, like "forward", "partition
* hash", "rebalance", "broadcast", ...
Expand Down

0 comments on commit dbfe2c6

Please sign in to comment.