jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu...@apache.org
Subject cvs commit: jakarta-taglibs/standard/src/org/apache/taglibs/standard/tag/common/sql DataSourceUtil.java
Date Fri, 19 Apr 2002 18:02:41 GMT
luehe       02/04/19 11:02:41

  Modified:    standard/src/org/apache/taglibs/standard/tag/common/sql
                        DataSourceUtil.java
  Log:
  bug fix
  
  Revision  Changes    Path
  1.7       +4 -1      jakarta-taglibs/standard/src/org/apache/taglibs/standard/tag/common/sql/DataSourceUtil.java
  
  Index: DataSourceUtil.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/standard/src/org/apache/taglibs/standard/tag/common/sql/DataSourceUtil.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- DataSourceUtil.java	19 Apr 2002 17:17:34 -0000	1.6
  +++ DataSourceUtil.java	19 Apr 2002 18:02:41 -0000	1.7
  @@ -102,10 +102,13 @@
           if (rawDataSource == null) {
               rawDataSource = Config.find(pageContext, Config.SQL_DATASOURCE);
               hasDataSourceAttribute = false;
  -	    return;
           } else {
               hasDataSourceAttribute = true;
           }
  +
  +	if (rawDataSource == null) {
  +	    return;
  +	}
   
           // If the 'dataSource' attribute's value resolves to a String
           // after rtexpr/EL evaluation, use the string as JNDI path to
  
  
  

--
To unsubscribe, e-mail:   <mailto:taglibs-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-dev-help@jakarta.apache.org>


Mime
View raw message