Skip to Content.
Sympa Menu

idok-commit - [idok-commit] idok commit r186 - branches/rest/java/ch/idok/cli/command

idok-commit AT lists.psi.ch

Subject: Commit emails of the iDok project

List archive

[idok-commit] idok commit r186 - branches/rest/java/ch/idok/cli/command


Chronological Thread 
  • From: "AFS account Roman Geus" <geus AT savannah.psi.ch>
  • To: idok-commit AT lists.psi.ch
  • Subject: [idok-commit] idok commit r186 - branches/rest/java/ch/idok/cli/command
  • Date: Tue, 26 Aug 2008 17:26:33 +0200
  • List-archive: <https://lists.web.psi.ch/pipermail/idok-commit/>
  • List-id: Commit emails of the iDok project <idok-commit.lists.psi.ch>

Author: geus
Date: Tue Aug 26 17:26:33 2008
New Revision: 186

Log:
Implemented explicit deallocation of search result iterator in
SearchCommand.java to help conserve server resources


Modified:
branches/rest/java/ch/idok/cli/command/SearchCommand.java

Modified: branches/rest/java/ch/idok/cli/command/SearchCommand.java
==============================================================================
--- branches/rest/java/ch/idok/cli/command/SearchCommand.java (original)
+++ branches/rest/java/ch/idok/cli/command/SearchCommand.java Tue Aug 26
17:26:33 2008
@@ -120,6 +120,7 @@
out.println("\t" + new String(rawContent));
m = it.nextElement();
}
+ it.destroy();
} catch (DmsException e) {
throw e;
} catch (Throwable th) {



  • [idok-commit] idok commit r186 - branches/rest/java/ch/idok/cli/command, AFS account Roman Geus, 08/26/2008

Archive powered by MHonArc 2.6.19.

Top of Page