}
public Resource runResource(final T environment) throws Exception {
- return Simantics.getSession().sync(new WriteResultRequest() {
+ return Simantics.getSession().sync(new WriteResultRequest<Resource>() {
@Override
public Resource perform(WriteGraph graph) throws DatabaseException {