Skip to content

4.x: Cleanup anyonymous inner class uses in unit tests #8080

Closed

Description

@akarnokd

They are the remnant of the Java 6 era of RxJava.

We didn't want to touch them for fear of breakage.

They are increasingly old and increasingly difficult to look at and see what they are doing due to the boilerplate surrounding them.

Thus we welcome cleanups for such tests. Please do it in small chunks so the tests are not broken or disappear.

Activity

  1. added this to the 4.0 milestone on Mar 26, 2026
  2. added theissue type on Mar 26, 2026
  3. akarnokd commented on Jun 22, 2026

    @akarnokd
    MemberAuthor

    With 15/N we are down from ~7000 to ~4300. Yeah, it will take awhile.

    Also kudos to IntelliJ 2026.1.3 for speeding up the process. Eclipse 2026.6 talkes 5-10 seconds to show a quick fix -> lambdaify per location on a i7 8700 + 64GB RAM.

    Image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions