Fennec/NativeUI/CodingStyle: Difference between revisions

Jump to navigation Jump to search
(→‎Java Idioms: add idiom on closing resources)
Line 27: Line 27:
     }
     }
  }
  }
** Always use braces, even for single-line statements. This has been shown to reduce the occurrence of accidental bugs.
 
* Places we differ from the Java coding style:
* Places we differ from the Java coding style:
** Start class variable names with m (e.g. mSomeClassVariable)
** Start class variable names with m (e.g. mSomeClassVariable)
Confirmed users
2,023

edits

Navigation menu