commit | c06a7e4d9b63dddbc3575317d0b989ef69c81fe0 | [log] [tgz] |
---|---|---|
author | Edwin Kempin <ekempin@google.com> | Wed Mar 11 11:25:20 2020 +0100 |
committer | Edwin Kempin <ekempin@google.com> | Wed Mar 11 11:26:29 2020 +0100 |
tree | 6f161749539140a63db87cd78b9c839b6058b53e | |
parent | 4126b5223546999133836d588e1775fd672c72e5 [diff] |
Adapt the change in Gerrit core Since change I9037aa7a3 ProjectCache#remove no longer throws IOException. Signed-off-by: Edwin Kempin <ekempin@google.com> Change-Id: Ifa2c8294da3c639aedfb171ff28d9a426cf02221
diff --git a/src/main/java/com/googlesource/gerrit/plugins/deleteproject/cache/CacheDeleteHandler.java b/src/main/java/com/googlesource/gerrit/plugins/deleteproject/cache/CacheDeleteHandler.java index e22854c..db01e18 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/deleteproject/cache/CacheDeleteHandler.java +++ b/src/main/java/com/googlesource/gerrit/plugins/deleteproject/cache/CacheDeleteHandler.java
@@ -17,7 +17,6 @@ import com.google.gerrit.entities.Project; import com.google.gerrit.server.project.ProjectCache; import com.google.inject.Inject; -import java.io.IOException; public class CacheDeleteHandler { @@ -28,7 +27,7 @@ this.projectCache = projectCache; } - public void delete(Project project) throws IOException { + public void delete(Project project) { projectCache.remove(project); } }