Skip to content

Commit

Permalink
CheckReturnValueAnalysis: construct the checkers using DI rather than…
Browse files Browse the repository at this point in the history
… manual instantiation.

This opens up the visibility of the injector to clients, so seemed worth pulling out of the child CL.

PiperOrigin-RevId: 517405352
  • Loading branch information
graememorgan authored and Error Prone Team committed Mar 17, 2023
1 parent f8eb73f commit 49fb044
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -38,7 +38,7 @@
* it allows injecting only non-generic classes, and treats everything as a singleton within a given
* compilation.
*/
final class ErrorProneInjector {
public final class ErrorProneInjector {
private final ClassToInstanceMap<Object> instances = MutableClassToInstanceMap.create();

public static ErrorProneInjector create() {
Expand Down

0 comments on commit 49fb044

Please sign in to comment.