recycleObject - Helper for recycling of objects


/**
 * recycles a domino document instance
 * 
 * @param lotus.domino.Base 
 *           obj to recycle
 * @category Domino
 * @author Sven Hasselbach
 * @category Tools
 * @version 1.1
 */
 public static void recycleObject(lotus.domino.Base obj) {
    if (obj != null) {
       try {
          obj.recycle();
       } catch (Exception e) {}
   }
}
All code submitted to OpenNTF XSnippets, whether submitted as a "Snippet" or in the body of a Comment, is provided under the Apache License Version 2.0. See Terms of Use for full details.
No comments yetLogin first to comment...