Permalink
Browse files

Removed extra try call from DataCleanUp.

  • Loading branch information...
1 parent 410d390 commit 1d4b51868752c94f73ec2ce5375b84d6a344225b @bbansal bbansal committed Oct 7, 2009
Showing with 2 additions and 4 deletions.
  1. +2 −4 src/java/voldemort/server/scheduler/DataCleanupJob.java
@@ -90,10 +90,8 @@ public void run() {
} catch(Exception e) {
logger.error("Error in data cleanup job for store " + store.getName() + ": ", e);
} finally {
- try {
- closeIterator(iterator);
- this.cleanupPermits.release();
- }
+ closeIterator(iterator);
+ this.cleanupPermits.release();
}
}

0 comments on commit 1d4b518

Please sign in to comment.