[
https://issues.jboss.org/browse/LOGTOOL-27?page=com.atlassian.jira.plugin...
]
James Perkins commented on LOGTOOL-27:
--------------------------------------
Probably best to extend the super interface, otherwise if the super interface extends the
BasicLogger both interfaces will need to implement the BasicLogger.
Extended interfaces should find translations for the interface that
was extended
--------------------------------------------------------------------------------
Key: LOGTOOL-27
URL:
https://issues.jboss.org/browse/LOGTOOL-27
Project: Log Tool
Issue Type: Enhancement
Security Level: Public(Everyone can see)
Reporter: James Perkins
Assignee: James Perkins
Currently if an interface is extended both the super interface needs translation files
and the sub-interface needs the same messages translated. Either the messages need to be
discovered and generated into the subtype or the subtype needs to extend the supertypes
implementation.
Extending the supertypes implementation does leave the generated code more simple, but
would require that any extended interfaces be annotated with @MessageLogger or
@MessageBundle.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira