portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject cvs commit: jakarta-jetspeed-2/components/persistence/src/java/org/apache/jetspeed/components/persistence/store/ojb/otm OTMStoreImpl.java
Date Sun, 29 Feb 2004 06:01:12 GMT
taylor      2004/02/28 22:01:12

  Modified:    components/persistence/src/java/org/apache/jetspeed/components/persistence/store/ojb/otm
                        OTMStoreImpl.java
  Log:
  extra check for null
  
  Revision  Changes    Path
  1.4       +4 -2      jakarta-jetspeed-2/components/persistence/src/java/org/apache/jetspeed/components/persistence/store/ojb/otm/OTMStoreImpl.java
  
  Index: OTMStoreImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/components/persistence/src/java/org/apache/jetspeed/components/persistence/store/ojb/otm/OTMStoreImpl.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- OTMStoreImpl.java	25 Feb 2004 16:06:40 -0000	1.3
  +++ OTMStoreImpl.java	29 Feb 2004 06:01:12 -0000	1.4
  @@ -120,8 +120,10 @@
               {
                   tx.commit();
               }
  -
  -            OTMConn.close();
  +            if (OTMConn != null)
  +            {
  +                OTMConn.close();
  +            }
           }
           catch (RuntimeException re)
           {
  
  
  

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


Mime
View raw message