mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

david_page
08.07.2007 74e1bca85ee4c5f02f6000028c69e65fa440ff1e
refs
author david_page <david_page@localhost>
Thursday, March 8, 2007 19:07 +0100
committer david_page <david_page@localhost>
Thursday, March 8, 2007 19:07 +0100
commit74e1bca85ee4c5f02f6000028c69e65fa440ff1e
tree 39cc4d0f19afa01066f7c0155ae96a47c2c8d24d tree | zip | gz
parent e1ae310114c0ea558eb7fbada0c34d884af210f3 view | diff
These changes move the PasswordPolicy field default-value initialization from a private constructor to the field declaration, and where appropriate, qualifies the field with "final".

The motivations are:

1. Easier to find default field values (e.g., use an IDE's "go to declaration" mechanism).

2. Mark any field with "final" that does not have a reasonable default value (i.e., those that depend on some constructor argument) to help ensure the object is properly initialized.

1 files modified
191 ■■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/core/PasswordPolicy.java 191 ●●●●● diff | view | raw | blame | history