mozilla-services/mozilla-style — pull request #1 by cpeterso (2012-01-09 07:52:55+00:00)
Title: Add and remove some style checks for Firefox Mobile

Here are a few checkstyle changes I'd like to propose. I've kept the commits small so you can cherrypick individual changes you like and ignore the others. <:)

1. fix capitalization rules for member names and static variables

Member names should be capitalized like `mMemberName`, not `mmemberName`. Static variables should be capitalized like `sStaticVariable`, not `staticVariable`.

2. enable more style checks

Enable some more style checks that don't seem *too* pedantic.

3. remove checks for ternary operator and final parameters

I like the `?:` ternary operator and don't feel it should be outlawed. I think the benefit/ugly ratio of final parameters is too low. They uglify public class interfaces for an incremental internal benefit.

4. add example checkstyle suppressions file for Firefox Mobile

The checkstyle suppressions file can be specified in the developer's checkstyle properties file. This example suppressions file covers all the checkstyle warnings for Firefox Mobile's Java code (excluding third-party libraries).