6 Replies Latest reply on Jul 26, 2013 7:25 AM by twogee

    Consistent use of Java 5 features (enum, generics etc)

    twogee

      Perhaps Tattletale could follow the example of Ant 1.9 and require Java 5 as a baseline?

      Both ArchiveTypes and ReportSeverity could be simplified as enums.

      Then there other sources of unneccessary verbosity, like explicit iterators or tokenizers.

      In some cases (eg version comparisons in EliminateJars) they obscure the purpose of the code completely.

      And Main should pehaps be more stringent by requiring potential report classes to extend AbstractReport

      (Class<? extends AbstractReport> instead of just Class for report lists).