Skip to content

Conversation

@Pankraz76
Copy link
Owner

@Pankraz76 Pankraz76 commented Oct 16, 2025

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':junit-platform-commons:compileJava'.
> Compilation failed; see the compiler output below.
  /Users/vincent.potucek/IdeaProjects/junit-framework/junit-platform-commons/src/main/java/org/junit/platform/commons/util/ReflectionUtils.java:86: warning: [ConstantNaming] Constant variables should adhere to the `UPPER_SNAKE_CASE` naming convention
  	private static final Logger logger = LoggerFactory.getLogger(ReflectionUtils.class);
  	                            ^
      (see https://error-prone.picnic.tech/bugpatterns/ConstantNaming)
    Did you mean 'private static final Logger LOGGER = LoggerFactory.getLogger(ReflectionUtils.class);'?
  1 error
  6 warnings

BUILD FAILED in 21s
11:51:34: Execution finished 'assemble clean'.

the same setup works for DirectReturn check but not for ConstantNaming.

Is this good enough to reproduce the issue?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants