chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From f...@apache.org
Subject svn commit: r1370688 - /chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-bindings/src/main/java/org/apache/chemistry/opencmis/client/bindings/spi/browser/AbstractBrowserBindingService.java
Date Wed, 08 Aug 2012 08:00:00 GMT
Author: fmui
Date: Wed Aug  8 07:59:59 2012
New Revision: 1370688

URL: http://svn.apache.org/viewvc?rev=1370688&view=rev
Log:
Browser Binding client: removed unnecessary if

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

Modified: chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-bindings/src/main/java/org/apache/chemistry/opencmis/client/bindings/spi/browser/AbstractBrowserBindingService.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/AbstractBrowserBindingService.java?rev=1370688&r1=1370687&r2=1370688&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-bindings/src/main/java/org/apache/chemistry/opencmis/client/bindings/spi/browser/AbstractBrowserBindingService.java
(original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-bindings/src/main/java/org/apache/chemistry/opencmis/client/bindings/spi/browser/AbstractBrowserBindingService.java
Wed Aug  8 07:59:59 2012
@@ -423,9 +423,7 @@ public abstract class AbstractBrowserBin
                     getRepositoryUrlCache().addRepository(id, repositoryUrl, rootUrl);
                 }
 
-                if (repositoryId == null || repositoryId.equals(id)) {
-                    repInfos.add(ri);
-                }
+                repInfos.add(ri);
             } else {
                 throw new CmisConnectionException("Found invalid Repository Info!");
             }



Mime
View raw message