Skip to content

Commit

Permalink
remove redundant exception
Browse files Browse the repository at this point in the history
  • Loading branch information
bossenti committed Oct 23, 2023
1 parent 18c1bc6 commit b31a3ea
Showing 1 changed file with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,15 @@
import org.apache.streampipes.extensions.api.extractor.IDataProcessorParameterExtractor;
import org.apache.streampipes.model.graph.DataProcessorInvocation;

public interface DataProcessorMigrator
extends ModelMigrator<DataProcessorInvocation, IDataProcessorParameterExtractor> {
public abstract class DataProcessorMigrator
implements ModelMigrator<DataProcessorInvocation, IDataProcessorParameterExtractor> {

@Override
public boolean equals(Object obj) {
if (obj instanceof ModelMigrator<?, ?>) {
return this.config().equals(((ModelMigrator<?, ?>) obj).config());
}
return false;
}

}

0 comments on commit b31a3ea

Please sign in to comment.