[Geoserver-devel] [JIRA] (GEOS-9987) Avoid C style array declarations, add Checkstyle check to disallow it

Andrea Aime created an issue

GeoServer / ImprovementGEOS-9987

Avoid C style array declarations, add Checkstyle check to disallow it

Issue Type:

ImprovementImprovement

Assignee:

Unassigned

Created:

20/Mar/21 10:08 AM

Priority:

MediumMedium

Reporter:

Andrea Aime

The code has some of C style array declaration, e.g.

double myvar;

instead of the clearer declaration in Java style (type first, variable name later):

double myvar;

These were allowed for compatibility with C, but seems out of place in a Java program.

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100156-sha1:6515a6d)

Atlassian logo