mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
remove unneeded throws
GitOrigin-RevId: 93e781ebc685c28991c713a31727799de66b4ec7
This commit is contained in:
committed by
intellij-monorepo-bot
parent
3a2e9d1c66
commit
0c246ca12b
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user