db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject cvs commit: db-torque/src/java/org/apache/torque TorqueInstance.java
Date Sat, 12 Mar 2005 20:14:50 GMT
tfischer    2005/03/12 12:14:50

  Modified:    src/java/org/apache/torque TorqueInstance.java
  Log:
  last code change was not optimal; no need to use the Torque class for checking whether Torque
is initialized
  
  Revision  Changes    Path
  1.11      +2 -2      db-torque/src/java/org/apache/torque/TorqueInstance.java
  
  Index: TorqueInstance.java
  ===================================================================
  RCS file: /home/cvs/db-torque/src/java/org/apache/torque/TorqueInstance.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- TorqueInstance.java	12 Mar 2005 20:08:34 -0000	1.10
  +++ TorqueInstance.java	12 Mar 2005 20:14:50 -0000	1.11
  @@ -718,7 +718,7 @@
       protected DataSourceFactory getDataSourceFactory(String name)
               throws TorqueException
       {
  -    	if (!Torque.isInit()) 
  +    	if (!isInit()) 
       	{
               throw new TorqueException("Torque is not initialized.");    		
       	}
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message