Skip to content
Snippets Groups Projects
Select Git revision
  • master
1 result

jmh-benchmarks

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Ismael Juma authored and GitHub committed
    - Use Xlint:all with 3 exclusions (filed KAFKA-7613 to remove the exclusions)
    - Use the same javac options when compiling tests (seems accidental that
    we didn't do this before)
    - Replaced several deprecated method calls with non-deprecated ones:
      - `KafkaConsumer.poll(long)` and `KafkaConsumer.close(long)`
      - `Class.newInstance` and `new Integer/Long` (deprecated since Java 9)
      - `scala.Console` (deprecated in Scala 2.11)
      - `PartitionData` taking a timestamp (one of them seemingly a bug)
      - `JsonMappingException` single parameter constructor
    - Fix unnecessary usage of raw types in several places.
    - Add @SuppressWarnings for deprecations, unchecked and switch fallthrough in
    several places.
    - Scala clean-ups (var -> val, ETA expansion warnings, avoid reflective calls)
    - Use lambdas to simplify code in a few places
    - Add @SafeVarargs, fix varargs usage and remove unnecessary `Utils.mkList` method
    
    Reviewers: Matthias J. Sax <mjsax@apache.org>, Manikumar Reddy <manikumar.reddy@gmail.com>, Randall Hauch <rhauch@gmail.com>, Bill Bejeck <bill@confluent.io>, Stanislav Kozlovski <stanislav_kozlovski@outlook.com>
    12f310d5
    History
    Name Last commit Last update
    ..