[jboss-jira] [JBoss JIRA] (LOGTOOL-123) Support java.util.function.Supplier as a valid bundle return type

James Perkins (JIRA) issues at jboss.org
Tue Nov 22 15:34:00 EST 2016


James Perkins created LOGTOOL-123:
-------------------------------------

             Summary: Support java.util.function.Supplier as a valid bundle return type
                 Key: LOGTOOL-123
                 URL: https://issues.jboss.org/browse/LOGTOOL-123
             Project: Log Tool
          Issue Type: Enhancement
            Reporter: James Perkins
            Priority: Minor


Since version 2.1.x now requires Java 8 a {{java.util.function.Supplier<String>}} and {{java.util.function.Supplier<? extends Throwable>>}} should be supported. These could be useful for things like
{code:java}
Optional.orElseThrow(BundleInterface.MESSAGES.notFound())
{code}



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list