coliver     2003/12/27 15:48:25

  Modified:    src/documentation/xdocs/userdocs/flow java.xml
  Log:
  Fixed example
  
  Revision  Changes    Path
  1.5       +1 -1      cocoon-2.1/src/documentation/xdocs/userdocs/flow/java.xml
  
  Index: java.xml
  ===================================================================
  RCS file: 
/home/cvs/cocoon-2.1/src/documentation/xdocs/userdocs/flow/java.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- java.xml  27 Dec 2003 22:53:53 -0000      1.4
  +++ java.xml  27 Dec 2003 23:48:24 -0000      1.5
  @@ -82,7 +82,7 @@
         // Cause com.xyz.MyClass to be compiled and loaded:
         importClass(Packages.com.xyz.MyClass); 
   
  -      var obj = MyClass("foo", 123); // call a constructor
  +      var obj = new MyClass("foo", 123); // call a constructor
   
         obj.someMethod();              // call a method
   
  
  
  

Reply via email to