mirror of https://github.com/apache/lucene.git
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:
parent
f06df3cc1d
commit
1276be5967
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue