You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by to...@apache.org on 2004/11/20 16:03:05 UTC

cvs commit: db-ojb/src/test/org/apache/ojb/broker/sequence NativeIdentifierTest.java

tomdz       2004/11/20 07:03:05

  Modified:    src/test/org/apache/ojb/broker/sequence
                        NativeIdentifierTest.java
  Log:
  Fixed NPE
  
  Revision  Changes    Path
  1.18      +6 -3      db-ojb/src/test/org/apache/ojb/broker/sequence/NativeIdentifierTest.java
  
  Index: NativeIdentifierTest.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/broker/sequence/NativeIdentifierTest.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- NativeIdentifierTest.java	14 Nov 2004 09:42:55 -0000	1.17
  +++ NativeIdentifierTest.java	20 Nov 2004 15:03:04 -0000	1.18
  @@ -216,8 +216,11 @@
   
       public void tearDown() throws Exception
       {
  -        super.tearDown();
  -        if (skipTest()) return;
  +        if (skipTest())
  +        {
  +            super.tearDown();
  +            return;
  +        }
   
           Connection con;
           Statement stmt;
  
  
  

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