cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/petstore/java/org/apache/cocoon/components/flow/javascript Database.js
Date Thu, 25 Mar 2004 01:58:16 GMT
joerg       2004/03/24 17:58:16

  Modified:    src/blocks/petstore/java/org/apache/cocoon/components/flow/javascript
                        Database.js
  Log:
  tabs 2 spaces
  
  Revision  Changes    Path
  1.4       +4 -4      cocoon-2.1/src/blocks/petstore/java/org/apache/cocoon/components/flow/javascript/Database.js
  
  Index: Database.js
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/petstore/java/org/apache/cocoon/components/flow/javascript/Database.js,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Database.js	6 Mar 2004 02:25:37 -0000	1.3
  +++ Database.js	25 Mar 2004 01:58:16 -0000	1.4
  @@ -27,10 +27,10 @@
   Database.getConnection = function(selectorValue) {
       var selector = cocoon.getComponent(Packages.org.apache.avalon.excalibur.datasource.DataSourceComponent.ROLE
+ "Selector");
       try {
  -	var ds = selector.select(selectorValue);
  -	return new Database(ds.getConnection());
  +        var ds = selector.select(selectorValue);
  +        return new Database(ds.getConnection());
       } finally {
  -	cocoon.releaseComponent(selector);
  +        cocoon.releaseComponent(selector);
       }
   }
   
  
  
  

Mime
View raw message