]> source.dussan.org Git - sonarqube.git/commitdiff
Fix quality flaw
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Mon, 8 Dec 2014 17:04:02 +0000 (18:04 +0100)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Tue, 9 Dec 2014 13:14:34 +0000 (14:14 +0100)
server/sonar-server/src/main/java/org/sonar/server/search/request/ProxyDeleteRequestBuilder.java

index 72716a9bcb45190c18bcf17750a62caf830099ad..993eb0169c07ddeabe1834fcffce18f9a42d0296 100644 (file)
@@ -19,7 +19,6 @@
  */
 package org.sonar.server.search.request;
 
-import org.elasticsearch.ElasticsearchException;
 import org.elasticsearch.action.ListenableActionFuture;
 import org.elasticsearch.action.delete.DeleteRequestBuilder;
 import org.elasticsearch.action.delete.DeleteResponse;
@@ -38,7 +37,7 @@ public class ProxyDeleteRequestBuilder extends DeleteRequestBuilder {
   }
 
   @Override
-  public DeleteResponse get() throws ElasticsearchException {
+  public DeleteResponse get() {
     StopWatch fullProfile = profiling.start("delete", Profiling.Level.FULL);
     try {
       return super.execute().actionGet();
@@ -52,12 +51,12 @@ public class ProxyDeleteRequestBuilder extends DeleteRequestBuilder {
   }
 
   @Override
-  public DeleteResponse get(TimeValue timeout) throws ElasticsearchException {
+  public DeleteResponse get(TimeValue timeout) {
     throw new UnsupportedOperationException("Not yet implemented");
   }
 
   @Override
-  public DeleteResponse get(String timeout) throws ElasticsearchException {
+  public DeleteResponse get(String timeout) {
     throw new UnsupportedOperationException("Not yet implemented");
   }