MouseBIRN.MBATSHIVARepositoryCheck-inPolicy (r1.1 vs. r1.2)
Diffs

 <<O>>  Difference Topic MBATSHIVARepositoryCheck-inPolicy (r1.2 - 13 Jun 2007 - HengYuan)

META TOPICPARENT MBATClientDocumentation

MBAT/SHIVA SVN Repository Check-in Policy

Changed:
<
<
To make sure the code being checked into the source code repository meeting some standards.
>
>
To make sure the code being checked into the source code repository meeting some standards:

  • Only check-in code that contains no compiling error. This includes checking in all the necessary library files.
Changed:
<
<
  • Optimize the code before checking-in.
>
>
  • Optimize imports before checking-in.

  • Remove all warnings before checking-in. The exceptions are
    1. Serializable class without serial/VersionUID
Line: 16 to 16

This warning is work around a 3rd party code (namely jwarping/). Also debugging code commented out sometimes may depend on these variables.
    1. Unused local or private member.
      Reflection based programs sometimes sets and retrieves private members. These members are declared private to hide the implementation detail from regular programs.
Changed:
<
<
(In eclipse, you may turn off warnings b and c off under Preferences->Java->Compiler->Errors/Warnings->Unnecessary code)
>
>
(In eclipse, you may turn off warnings 2 and 3 off under Preferences->Java->Compiler->Errors/Warnings->Unnecessary code)

  • All classes, functions and variables meet the Java naming convention guide line. For variables, prefixes and/or suffixes are allowed.

 <<O>>  Difference Topic MBATSHIVARepositoryCheck-inPolicy (r1.1 - 13 Jun 2007 - HengYuan)
Line: 1 to 1
Added:
>
>
META TOPICPARENT MBATClientDocumentation

MBAT/SHIVA SVN Repository Check-in Policy

To make sure the code being checked into the source code repository meeting some standards.

  • Only check-in code that contains no compiling error. This includes checking in all the necessary library files.

  • Optimize the code before checking-in.

  • Remove all warnings before checking-in. The exceptions are
    1. Serializable class without serial/VersionUID
      This warning is unnecessary since most GUI components are serializable due to inheritance, but not actually involved in serialization.
      (In eclipse, you may can turn this warning off under Preferences->Java->Compiler->Errors/Warnings->Potential programming problems).
    2. Local variables never read.
      This warning is work around a 3rd party code (namely jwarping/). Also debugging code commented out sometimes may depend on these variables.
    3. Unused local or private member.
      Reflection based programs sometimes sets and retrieves private members. These members are declared private to hide the implementation detail from regular programs.
      (In eclipse, you may turn off warnings b and c off under Preferences->Java->Compiler->Errors/Warnings->Unnecessary code)

  • All classes, functions and variables meet the Java naming convention guide line. For variables, prefixes and/or suffixes are allowed.

  • Give a brief description for code being checked-in in the commit message.


Topic: MBATSHIVARepositoryCheck-inPolicy . { View | Diffs | r1.2 | > | r1.1 | More }

Revision r1.1 - 13 Jun 2007 - 18:17 - HengYuan
Revision r1.2 - 13 Jun 2007 - 19:54 - HengYuan