Don't declare IOException which is never thrown

Change-Id: Ic50d6c3e4d5d14d95481681b5b65b1f4c9716f54
diff --git a/src/main/java/com/googlesource/gerrit/plugins/healthcheck/api/HealthCheckStatusEndpoint.java b/src/main/java/com/googlesource/gerrit/plugins/healthcheck/api/HealthCheckStatusEndpoint.java
index 6819ae1..ed16539 100644
--- a/src/main/java/com/googlesource/gerrit/plugins/healthcheck/api/HealthCheckStatusEndpoint.java
+++ b/src/main/java/com/googlesource/gerrit/plugins/healthcheck/api/HealthCheckStatusEndpoint.java
@@ -24,7 +24,6 @@
 import com.googlesource.gerrit.plugins.healthcheck.check.HealthCheck.Result;
 import java.io.File;
 import java.io.FileInputStream;
-import java.io.IOException;
 import java.io.InputStream;
 import java.util.Map;
 import javax.servlet.http.HttpServletResponse;
@@ -63,7 +62,7 @@
         : HttpServletResponse.SC_OK;
   }
 
-  private boolean failFlagFileExists() throws IOException {
+  private boolean failFlagFileExists() {
     File file = new File(failedFileFlagPath);
     try (InputStream targetStream = new FileInputStream(file)) {
       return true;