From 17dfb03e21fb185de4051a0b62144690f86b8b4a Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Mon, 8 Dec 2014 18:04:02 +0100 Subject: [PATCH] Fix quality flaw --- .../server/search/request/ProxyDeleteRequestBuilder.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/server/sonar-server/src/main/java/org/sonar/server/search/request/ProxyDeleteRequestBuilder.java b/server/sonar-server/src/main/java/org/sonar/server/search/request/ProxyDeleteRequestBuilder.java index 72716a9bcb4..993eb0169c0 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/search/request/ProxyDeleteRequestBuilder.java +++ b/server/sonar-server/src/main/java/org/sonar/server/search/request/ProxyDeleteRequestBuilder.java @@ -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"); } -- 2.39.5