You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by kk...@apache.org on 2013/01/10 14:07:49 UTC

svn commit: r1431332 - /tomcat/trunk/res/ide-support/eclipse/java-compiler-errors-warnings.txt

Author: kkolinko
Date: Thu Jan 10 13:07:48 2013
New Revision: 1431332

URL: http://svn.apache.org/viewvc?rev=1431332&view=rev
Log:
Turn off "Potential resource leak" warning, as it gives too many false positives

Modified:
    tomcat/trunk/res/ide-support/eclipse/java-compiler-errors-warnings.txt

Modified: tomcat/trunk/res/ide-support/eclipse/java-compiler-errors-warnings.txt
URL: http://svn.apache.org/viewvc/tomcat/trunk/res/ide-support/eclipse/java-compiler-errors-warnings.txt?rev=1431332&r1=1431331&r2=1431332&view=diff
==============================================================================
--- tomcat/trunk/res/ide-support/eclipse/java-compiler-errors-warnings.txt (original)
+++ tomcat/trunk/res/ide-support/eclipse/java-compiler-errors-warnings.txt Thu Jan 10 13:07:48 2013
@@ -35,13 +35,15 @@ Code style
  - Method with a constructor name       - W
  - Method can be static                 - I
  - Method can potentially be static     - I
-Potential programming errors
+
+Potential programming problems
  - All                                  - W
    except the following:
 
- - Incomplete 'switch' cases on enum    - W
-   [ ] Signal even if 'default' case exists
- - 'switch' is missing 'default' case   - I
+   - Incomplete 'switch' cases on enum    - W
+     [ ] Signal even if 'default' case exists
+   - 'switch' is missing 'default' case   - I
+   - Potential resource leak              - I
 
 Name shadowing and conflicts
  - Field declaration hides another...   - I
@@ -49,24 +51,28 @@ Name shadowing and conflicts
  - Type parameter hides another type    - W
  - Method does not override...          - W
  - Interface method conflicts...        - W
+
 Deprecated and restricted API
  - Deprecated API                       - W
    ([ ] on all additional check boxes)
  - Forbidden references                 - E
  - Discouraged reference                - W
+
 Unnecessary code
  - All                                  - W
    ([x] on all additional check boxes)
    except the following:
 
- - Unnecessary else                     - I
+   - Unnecessary else                     - I
 
 Generic types
  - All                                  - W
    [x] Ignore unavoidable generic type problems
+
 Annotations
  - All                                  - W
    ([x] on all additional check boxes)
+
 Null analysis
  - Null pointer access                  - W
  - Potential null pointer access        - W



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org