chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From f...@apache.org
Subject svn commit: r1710758 - /chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-bindings/src/main/java/org/apache/chemistry/opencmis/client/bindings/spi/browser/RepositoryServiceImpl.java
Date Tue, 27 Oct 2015 10:14:06 GMT
Author: fmui
Date: Tue Oct 27 10:14:06 2015
New Revision: 1710758

URL: http://svn.apache.org/viewvc?rev=1710758&view=rev
Log:
CMIS-954: Browser binding client: fixed getRepositoryInfo

Modified:
    chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-bindings/src/main/java/org/apache/chemistry/opencmis/client/bindings/spi/browser/RepositoryServiceImpl.java

Modified: chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-bindings/src/main/java/org/apache/chemistry/opencmis/client/bindings/spi/browser/RepositoryServiceImpl.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-bindings/src/main/java/org/apache/chemistry/opencmis/client/bindings/spi/browser/RepositoryServiceImpl.java?rev=1710758&r1=1710757&r2=1710758&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-bindings/src/main/java/org/apache/chemistry/opencmis/client/bindings/spi/browser/RepositoryServiceImpl.java
(original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-bindings/src/main/java/org/apache/chemistry/opencmis/client/bindings/spi/browser/RepositoryServiceImpl.java
Tue Oct 27 10:14:06 2015
@@ -63,10 +63,6 @@ public class RepositoryServiceImpl exten
             throw new CmisObjectNotFoundException("Repository '" + repositoryId + "'not found!");
         }
 
-        if (repositoryInfos.size() == 1) {
-            return repositoryInfos.get(0);
-        }
-
         // find the repository
         for (RepositoryInfo info : repositoryInfos) {
             if (info.getId() == null) {



Mime
View raw message