Java Developer Tools

Audit - Rules - Property Files

Description
This group contains audit rules that look for problems in property files.

Rules:

Details

Duplicate Property Name

Summary
Properties should only be declared once.

Description
This audit rule checks to ensure that there is never more than one property declaration with the same name in the same file. Declaring multiple properties with the same name is usually a mistake because only the last such property will be visible to the code.

Example
    applicationName = CoolApp
    applicationName = Ice Machine Controller

Duplicate Property Value

Summary
Properties should only be declared once.

Description
This audit rule checks to ensure that there is never more than one property declaration with the same value in the same file. Declaring multiple properties with the same value can needlessly increase the amount of effort required to translate the property values into another locale.

Example
    importBottonLabel = Import...
    importMenuLabel = Import...

Spell Check Property Comments

Summary Property comments should be spelled correctly. Description This audit rule finds property comments that contain misspelled words.

Spell Check Property Names

Summary Property names should be composed of valid words. Description This audit rule finds property names that are composed from pieces that do not form words.

Spell Check Property Values

Summary Property values should be correctly spelled. Description This audit rule finds property values that contain misspelled words.

White Space Before Property Name

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.