protected void prepareTransactionMemoriesIfExists() {
        final SavedTransactionMemories memories = ThreadCacheContext.findTransactionMemories();
        if (memories != null) {
            final List<TransactionMemoriesProvider> providerList = memories.getOrderedProviderList();
            final StringBuilder sb = new StringBuilder();
            for (TransactionMemoriesProvider provider : providerList) {
                provider.provide().ifPresent(result -> sb.append("\n*").append(result));
            }
            final WholeShowAttribute attribute = new WholeShowAttribute(sb.toString().trim());
            requestManager.setAttribute(LastaWebKey.DBFLUTE_TRANSACTION_MEMORIES_KEY, attribute);
        }
    }
protected void prepareTransactionMemoriesIfExists ( ) { final SavedTransactionMemories memories = ThreadCacheContext . findTransactionMemories ( ) ; if ( memories != null ) { final List < TransactionMemoriesProvider > providerList = memories . getOrderedProviderList ( ) ; final StringBuilder sb = new StringBuilder ( ) ; for ( TransactionMemoriesProvider provider : providerList ) { provider . provide ( ) . ifPresent ( result -> sb . append ( "\n*" ) . append ( result ) ) ; } final WholeShowAttribute attribute = new WholeShowAttribute ( sb . toString ( ) . trim ( ) ) ; requestManager . setAttribute ( LastaWebKey . DBFLUTE_TRANSACTION_MEMORIES_KEY , attribute ) ; } }
--------------------