Project

General

Profile

« Previous | Next » 

Revision 611

Added by bojilova almost 24 years ago

fixed typo

View differences:

src/edu/ucsb/nceas/metacat/AccessControlList.java
362 362
        ResultSet rs = pstmt.getResultSet();
363 363
        boolean hasRow = rs.next();
364 364
        pstmt.close();
365
        conn.close();
366 365
        if (hasRow) {
366
          conn.close();
367 367
          return true;
368 368
        }
369 369
//System.out.println("Passed the check for public access");      
......
390 390
        ResultSet rs = pstmt.getResultSet();
391 391
        boolean hasRow = rs.next();
392 392
        pstmt.close();
393
        conn.close();
394 393
        if (hasRow) {
394
          conn.close();
395 395
          return true;
396 396
        }
397 397
//System.out.println("Passed the check for ownership");      

Also available in: Unified diff