apache / apache/lucene

Disallow C-style array declarations [LUCENE-10003]

Open
#11,042 14 comments 0 reactions 1 assignee Claimed by @dsmiley View on GitHub
legacy-jira-priority:Minor type:enhancement
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

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

---
Migrated from [LUCENE-10003](https://issues.apache.org/jira/browse/LUCENE-10003) by David Smiley (@dsmiley), updated Aug 25 2021
Pull requests: https://github.com/apache/lucene/pull/206

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.