chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From f...@apache.org
Subject svn commit: r1469771 - /chemistry/site/trunk/content/java/examples/example-get-extension.mdtext
Date Fri, 19 Apr 2013 10:28:52 GMT
Author: fmui
Date: Fri Apr 19 10:28:51 2013
New Revision: 1469771

URL: http://svn.apache.org/r1469771
Log:
Fixed code sample

Modified:
    chemistry/site/trunk/content/java/examples/example-get-extension.mdtext

Modified: chemistry/site/trunk/content/java/examples/example-get-extension.mdtext
URL: http://svn.apache.org/viewvc/chemistry/site/trunk/content/java/examples/example-get-extension.mdtext?rev=1469771&r1=1469770&r2=1469771&view=diff
==============================================================================
--- chemistry/site/trunk/content/java/examples/example-get-extension.mdtext (original)
+++ chemistry/site/trunk/content/java/examples/example-get-extension.mdtext Fri Apr 19 10:28:51
2013
@@ -23,7 +23,7 @@ Think of it as a tree structure with nam
 
     // iterate through the extensions until we find the one we are looking for
     for(CmisExtensionElement ext: extensions) {
-       if("myExtension".equals(ext.getName()) {
+       if("myExtension".equals(ext.getName())) {
          // found it, now print the values of the children	   
          for(CmisExtensionElement child: ext.getChildren()) {
 	    System.out.println(child.getName() + ": " + child.getValue());



Mime
View raw message