]
James Perkins reassigned LOGTOOL-123:
-------------------------------------
Assignee: James Perkins
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
Assignee: James Perkins
Priority: Minor
Fix For: 2.1.0.Alpha3
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}