fix missing break statemetns (via Lukas)

This commit is contained in:
kimchy 2010-06-21 22:45:02 +03:00
parent 7ed7c6db4e
commit 893de86e9e

View File

@ -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 + "]");
}