Numass server test

This commit is contained in:
Alexander Nozik 2017-05-15 11:24:13 +03:00
parent 15314d2d07
commit b027f9b7e7

View File

@ -35,7 +35,7 @@ public class TestServer {
context.getLogger().info("Starting test numass storage servlet in '{}'", path);
NumassStorage storage = NumassStorage.buildLocalNumassRoot(new File(path), true, true);
serverManager.addObject("numass", storage, st -> new NumassStorageHandler(serverManager, st));
serverManager.addObject("numass", storage, NumassStorageHandler::new);
serverManager.startSetver();