chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brosius" <>
Subject questionable code on chemistry developers guide
Date Thu, 19 Apr 2012 16:24:49 GMT to one of a list of repositoriesThe
CMIS specification allows a CMIS service endpoint to advertise one or more repositories, so
this code snippet retrieves a list of repositories. In this case there the code chooses the
first repository in list:-    List repositories = new ArrayList();    repositories = sessionFactory.getRepositories(parameter);
   for (Repository r : repositories) {        System.out.println(&quot;Found repository:
&quot; + r.getName());    }should beList repositories = sessionFactory.getRepositories(parameter);
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message