remove unneeded throws

GitOrigin-RevId: 93e781ebc685c28991c713a31727799de66b4ec7
This commit is contained in:
Eugene Zhuravlev
2025-04-23 12:41:35 +00:00
committed by intellij-monorepo-bot
parent 3a2e9d1c66
commit 0c246ca12b
3 changed files with 3 additions and 4 deletions
@@ -4,7 +4,6 @@ package org.jetbrains.jps.dependency;
import org.jetbrains.annotations.NotNull;
import java.io.Closeable;
import java.io.IOException;
import java.util.List;
/**
@@ -12,7 +11,7 @@ import java.util.List;
*/
public interface DependencyGraph extends Graph, Closeable {
Delta createDelta(Iterable<NodeSource> sourcesToProcess, Iterable<NodeSource> deletedSources, boolean isSourceOnly) throws IOException;
Delta createDelta(Iterable<NodeSource> sourcesToProcess, Iterable<NodeSource> deletedSources, boolean isSourceOnly);
default DifferentiateResult differentiate(Delta delta, DifferentiateParameters params) {
return differentiate(delta, params, List.of());
@@ -30,7 +30,7 @@ public final class LoggingDependencyGraph extends LoggingGraph implements Depend
}
@Override
public Delta createDelta(Iterable<NodeSource> sourcesToProcess, Iterable<NodeSource> deletedSources, boolean isSourceOnly) throws IOException {
public Delta createDelta(Iterable<NodeSource> sourcesToProcess, Iterable<NodeSource> deletedSources, boolean isSourceOnly) {
return getDelegate().createDelta(sourcesToProcess, deletedSources, isSourceOnly);
}
@@ -737,7 +737,7 @@ public final class BuildDataManager {
private final ReadWriteLock lock = new ReentrantReadWriteLock();
@Override
public Delta createDelta(Iterable<NodeSource> sourcesToProcess, Iterable<NodeSource> deletedSources, boolean isSourceOnly) throws IOException {
public Delta createDelta(Iterable<NodeSource> sourcesToProcess, Iterable<NodeSource> deletedSources, boolean isSourceOnly) {
lock.readLock().lock();
try {
return delegate.createDelta(sourcesToProcess, deletedSources, isSourceOnly);