mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-25 06:16:40 +00:00
fix missing break statemetns (via Lukas)
This commit is contained in:
parent
7ed7c6db4e
commit
893de86e9e
@ -71,8 +71,10 @@ public class RestController extends AbstractLifecycleComponent<RestController> {
|
||||
break;
|
||||
case OPTIONS:
|
||||
optionsHandlers.insert(path, handler);
|
||||
break;
|
||||
case HEAD:
|
||||
headHandlers.insert(path, handler);
|
||||
break;
|
||||
default:
|
||||
throw new ElasticSearchIllegalArgumentException("Can't handle [" + method + "] for path [" + path + "]");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user