Patrick Rhomberg created GEODE-6395:
---------------------------------------

             Summary: Safeguard spotless custom rule bump
                 Key: GEODE-6395
                 URL: https://issues.apache.org/jira/browse/GEODE-6395
             Project: Geode
          Issue Type: Improvement
            Reporter: Patrick Rhomberg


The Spotless method {{bumpThisNumberIfACustomStepChanges}} should have its 
input changed whenever a custom rule is changed or added.  Failure to do so can 
cause spotless to not execute, or to throw an NPE in rare instances.

Developers can easily overlook this however.  As an alternative, we could pass 
the sha of the spotless file itself to this method, ensuring that any change to 
spotless will cause the spotless cache to invalidate itself.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to