[ https://issues.apache.org/jira/browse/LUCENE-10003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17363607#comment-17363607 ]
Dawid Weiss commented on LUCENE-10003: -------------------------------------- You'd need to edit github workflow config and include error prone via property switch (currently it's only nightly-sensitive but you could add another property and enable it for github PRs). https://github.com/apache/lucene/blob/main/gradle/validation/error-prone.gradle#L24 > Disallow C-style array declarations > ----------------------------------- > > Key: LUCENE-10003 > URL: https://issues.apache.org/jira/browse/LUCENE-10003 > Project: Lucene - Core > Issue Type: Improvement > Reporter: David Smiley > Assignee: David Smiley > Priority: Minor > > The Google Java Format, that which we adhere to, disallows c-style array > declarations: https://google.github.io/styleguide/javaguide.html#s4.8.3-arrays > It's also known to "Error Prone": > https://errorprone.info/bugpattern/MixedArrayDimensions -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org