@ SuppressWarnings ( "unchecked" ) private static Enumeration < LogEntry > getLogEntries ( LogReaderService lrs ) { return ( Enumeration < LogEntry > ) lrs . getLog ( ) ; }
Utility method to reduce unchecked area .