Fix compile error

This commit is contained in:
Lee moon soo 2016-06-08 14:15:16 -07:00
parent bfcdf347dd
commit 0671dfdb5c
3 changed files with 6 additions and 6 deletions

View file

@ -930,11 +930,10 @@ public class InterpreterFactory implements InterpreterGroupFactory {
RemoteInterpreter remoteInterpreter = new RemoteInterpreter(
property, noteId, className, conf.getInterpreterRemoteRunnerPath(),
interpreterPath, localRepoPath, connectTimeout,
maxPoolSize, remoteInterpreterProcessListener, appEventListener)
maxPoolSize, remoteInterpreterProcessListener, appEventListener);
remoteInterpreter.setEnv(env);
LazyOpenInterpreter intp = new LazyOpenInterpreter(remoteInterpreter);
return intp;
return new LazyOpenInterpreter(remoteInterpreter);
}
private Properties updatePropertiesFromRegisteredInterpreter(Properties properties,

View file

@ -93,7 +93,8 @@ public class HeliumApplicationFactoryTest implements JobListenerFactory {
factory,
this,
search,
notebookAuthorization);
notebookAuthorization,
null);
heliumAppFactory.setNotebook(notebook);

View file

@ -286,7 +286,7 @@ public class LuceneSearchTest {
}
private Note newNote(String name) {
Note note = new Note(notebookRepoMock, replLoaderMock, null, notebookIndex, null);
Note note = new Note(notebookRepoMock, replLoaderMock, null, notebookIndex, null, null);
note.setName(name);
return note;
}