[
https://issues.apache.org/jira/browse/LUCENE-10003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17404722#comment-17404722
]
ASF subversion and git services commented on LUCENE-10003:
----------------------------------------------------------
Commit 8ac26737913d0c1555019e93bc6bf7db1ab9047e in lucene's branch
refs/heads/main from David Smiley
[ https://gitbox.apache.org/repos/asf?p=lucene.git;h=8ac2673 ]
LUCENE-10003: No C style array declaration (#206)
Most cases of C-style array declarations have been switched. 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
Some cases (esp. Snowball) can't be updated.
> 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
> Time Spent: 40m
> Remaining Estimate: 0h
>
> 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: [email protected]
For additional commands, e-mail: [email protected]