Clone
Chris Beams <chris@gradle.com>
committed
on 19 Jan 16
Apply abstract modifier to classes consistently
Prior to this commit, a minority of clases positioned the `abstract`
modifier before the `pu… Show more
Apply abstract modifier to classes consistently

Prior to this commit, a minority of clases positioned the `abstract`

modifier before the `public` visibility modifier:

   { git grep -h '^abstract public'; git grep -h '^public abstract'; } \

   | cut -d' ' -f1-3 | sort | uniq -c

     25 abstract public class

    232 public abstract class

This commit normalizes this usage with the following command:

   git grep -l '^abstract public' \

   | xargs perl -p -i -e 's/^abstract public/public abstract/'

Resulting in the following homogeny:

   { git grep -h '^abstract public'; git grep -h '^public abstract'; } \

   | cut -d' ' -f1-3 | sort | uniq -c

    257 public abstract class

Show less

master + 476 more