You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Patrick Rhomberg (JIRA)" <ji...@apache.org> on 2017/11/03 17:25:00 UTC

[jira] [Created] (GEODE-3952) Improve spotless to more closely adhere to established style guidelines.

Patrick Rhomberg created GEODE-3952:
---------------------------------------

             Summary: Improve spotless to more closely adhere to established style guidelines. 
                 Key: GEODE-3952
                 URL: https://issues.apache.org/jira/browse/GEODE-3952
             Project: Geode
          Issue Type: Improvement
            Reporter: Patrick Rhomberg


Spotless currently addresses whitespacing and very little else.  It could be expanded to clean up the more glaring (in my opinion) broken windows.  This includes:

* Adherence to the established import ordering given in `[geode]/etc/`
* Adherence to the established modifier ordering given in the Google Java Style guide, which we largely adopt.  (e.g., `public static int` over `static public int`.)
* Removal of some dead code, particularly commented-out import statements.
* Improvements to whitespace handling, particularly to end files in a single carriage return and to trim whitespace from the end of each line.

Increase to compile time is trivial, approximately ten seconds in the worst case.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)