Skip to content
Snippets Groups Projects
Commit ba9c51d0 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

lint issues

parent 60397846
No related branches found
No related tags found
1 merge request!141Resolve "Overlays: user data upload"
......@@ -1413,9 +1413,11 @@ public class ProjectService implements IProjectService {
nodes.add(node);
}
}
User dbUser = userDao.getById(user.getId());
dbUser.setAnnotationSchema(annotationSchema);
userDao.update(dbUser);
if (user != null) {
User dbUser = userDao.getById(user.getId());
dbUser.setAnnotationSchema(annotationSchema);
userDao.update(dbUser);
}
}
return annotationSchema;
}
......
......@@ -52,7 +52,6 @@ public class LayoutViewFactory extends AbstractViewFactory<Layout, LayoutView> {
} else {
result.setInputDataAvailable("false");
}
return result;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment