chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From f...@apache.org
Subject svn commit: r960904 - /incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/Converter.java
Date Tue, 06 Jul 2010 14:38:34 GMT
Author: fmui
Date: Tue Jul  6 14:38:34 2010
New Revision: 960904

URL: http://svn.apache.org/viewvc?rev=960904&view=rev
Log:
- fixed a bug that prevented a server from setting extensions

Modified:
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/Converter.java

Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/Converter.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/Converter.java?rev=960904&r1=960903&r2=960904&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/Converter.java
(original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/Converter.java
Tue Jul  6 14:38:34 2010
@@ -2554,8 +2554,8 @@ public final class Converter {
         }
 
         try {
-            Method m = source.getClass().getMethod("getAny", new Class<?>[0]);
-            List<Object> list = (List<Object>) m.invoke(source, new Object[0]);
+            Method m = target.getClass().getMethod("getAny", new Class<?>[0]);
+            List<Object> list = (List<Object>) m.invoke(target, new Object[0]);
 
             list.clear();
             if (source.getExtensions() != null) {



Mime
View raw message