- improved inline documentation a bit (EJBs are called, not any bean)
Signed-off-by: Roland Häder <roland@mxchange.org>
public void initCache () {
// Is cache there?
if (!this.receiptCache.iterator().hasNext()) {
- // Get whole list
+ // Get whole list from EJB
final List<BillableReceipt> receipts = this.receiptBean.allReceipts();
// Add all
public void initCache () {
// Is cache there?
if (!this.receiptItemCache.iterator().hasNext()) {
- // Get whole list
+ // Get whole list from EJB
final List<BillableReceiptItem> receiptItems = this.receiptItemBean.allReceiptItems();
// Add all