Author: [email protected]
Date: Mon Jul  6 12:03:03 2009
New Revision: 5671

Modified:
    trunk/eclipse/README.txt

Log:
Document some suggested compile warnings for Eclipse.

Suggested by: bobv

Modified: trunk/eclipse/README.txt
==============================================================================
--- trunk/eclipse/README.txt    (original)
+++ trunk/eclipse/README.txt    Mon Jul  6 12:03:03 2009
@@ -73,6 +73,34 @@
  Window->Preferences->Java->Compiler
  Set the compiler compliance level to 1.5.

+------- Compiler errors & warnings --------
+Window->Preferences->Java->Compiler->Errors/Warnings
+
+The following warnings are suggested.
+
+Code Style:
+- Method with a constructor name
+
+Potential programming problems:
+- Assignment has no effect
+- Accidental boolean assignment
+- 'finally' does not complete normally
+- Using a char array in string concatentation
+- Hidden catch block
+- Inexact type match for vararg arguments
+
+Name shadowing and conflicts: all except "Local variable" hiding
+
+Deprecated and restricted API: all
+
+Unnecessary code: all except "Unnecessary 'else' statement"
+
+Generic types: all except "Generic type parameter declared with final type  
bound"
+
+Annotations:
+- Annotation is used as super interface
+- Enable @SuppressWarnings annotations
+
  == Checkstyle ==

  Checkstyle is used to enforce good programming style.

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to