Skip to content
This repository has been archived by the owner on Sep 23, 2020. It is now read-only.

Commit

Permalink
pstmt gets closed in finally section already
Browse files Browse the repository at this point in the history
  • Loading branch information
timf committed Jul 12, 2010
1 parent 377ff32 commit 9fa5b29
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions authzdb/src/org/nimbus/authz/AuthzDBAdapter.java
Expand Up @@ -295,7 +295,6 @@ private int getParentObject(
if(!rs.next())
{
logger.debug("pstmt " + pstmt.toString());
pstmt.close();
throw new AuthzDBException("no such parent file found " + objectName + " " + objectType);
}
int objectId = rs.getInt(1);
Expand Down Expand Up @@ -792,4 +791,4 @@ private void returnConnection(Connection connection)
}
}
}
}
}

0 comments on commit 9fa5b29

Please sign in to comment.