public static List<NamedResource> getTemplates(final Resource library) throws DatabaseException{
if (library == null)
- throw new IllegalArgumentException("Library cannot be null");
+ throw new IllegalArgumentException("Library cannot be null"); //$NON-NLS-1$
List<NamedResource> templates = Simantics.getSession().syncRequest(new Read<List<NamedResource>>() {
@Override
public List<NamedResource> perform(ReadGraph graph) throws DatabaseException{