414415416417418419420421422423424
} catch (RepositoryException e) { LOGGER.logp(Level.WARNING, CLASS_NAME, METHOD, "Error mapping MetaField " + mf, e); } finally { if (null != item) { item.recycle(); } } } LOGGER.exiting(CLASS_NAME, METHOD); }
463464465466467468469470471472473
content.append("\n"); NotesItem tmpItem = srcDoc.getFirstItem(fieldName); if (null != tmpItem) { // Must use getText to get more than 64k of text content.append(tmpItem.getText(2 * 1024 * 1024)); tmpItem.recycle(); } } LOGGER.exiting(CLASS_NAME, METHOD); return content.toString(); }
492493494495496497498499500501502
content.append("\n"); NotesItem tmpItem = srcDoc.getFirstItem(ItemName); if (null != tmpItem) { // Must use getText to get more than 64k of text content.append(tmpItem.getText(2 * 1024 * 1024)); tmpItem.recycle(); } break; default: break; }
373374375376377378379380381382383
item.setSummary(false); for (String text : textData) { item.appendToTextList(text); } } finally { item.recycle(); } } @VisibleForTesting void getPermitDeny(NotesACL acl, List<String> permitUsers,