Project

General

Profile

« Previous | Next » 

Revision 608

Added by bojilova almost 24 years ago

problems with passing the connection between objects

View differences:

src/edu/ucsb/nceas/metacat/AccessControlList.java
68 68
  public AccessControlList ( Connection conn ) throws SQLException
69 69
  {
70 70
    Connection dbconn = conn;
71
    if ( dbconn == null || dbconn.isClosed() ) {
71
//    if ( dbconn == null || dbconn.isClosed() ) {
72 72
      System.out.println("AccessControlList: " + 
73 73
                         "DB connection was closed. Open a new one");
74 74
      try {
......
77 77
      } catch (Exception e) {
78 78
        throw new SQLException(e.getMessage());
79 79
      }
80
    }
80
//    }
81 81
    this.conn = dbconn;
82 82
  }
83 83

  

Also available in: Unified diff