SOLR-7484: Cleaning up redundant switch cases from the code

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1678071 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Anshum Gupta 2015-05-06 19:30:07 +00:00
parent f06df3cc1d
commit 1276be5967
1 changed files with 1 additions and 11 deletions

View File

@ -390,14 +390,7 @@ class HttpSolrCall {
writeResponse(solrRsp, responseWriter, reqMethod);
}
return RETURN;
case FORWARD:
return FORWARD;
case PASSTHROUGH:
return PASSTHROUGH;
case RETRY:
return RETRY;
case RETURN:
return RETURN;
default: return action;
}
} catch (Throwable ex) {
sendError(ex);
@ -415,9 +408,6 @@ class HttpSolrCall {
return RETURN;
}
// Otherwise let the webapp handle the request
return Action.PASSTHROUGH;
}
void destroy() {