for (Document document : documents) { try { document.close(); } catch (Exception e) { logger.warn("Could not close document", e);
for (Document document : documents) { try { document.close(); } catch (Exception e) { logger.warn("Could not close document", e);