Changes between Version 31 and Version 33 of GoodCodeExamples


Ignore:
Timestamp:
06/04/09 10:39:06 (16 years ago)
Author:
meddle
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GoodCodeExamples

    v31 v33  
    7474                } 
    7575}}} 
    76  * Don't use @SuppressWarnings("all") and @SuppressWarnings("synthetic-access") at all, other like @SuppressWarnings("synthetic-access"), @SuppressWarnings("unchecked"), etc.. you can use, but rarely only when needed! 
     76 * Don't use @SuppressWarnings("all") and @SuppressWarnings("static-access") at all, other like @SuppressWarnings("synthetic-access"), @SuppressWarnings("unchecked"), etc.. you can use, but rarely only when needed! 
    7777 * We don't have special conventions for naming but don't use long name or stupid ones like "stuff". 
    7878 * Don't leave commented code where you tried something to be reviewed, we will be not very happy. 
     
    107107  * Put @After, @Before and @Test annotations. 
    108108  * The first thing in a setUp method is calling the super.setUp() method, the last thing in a tearDown method is calling the super.tearDown() method. 
     109  * When caching an Exception in a test, use the logger.error(e.getMessage(), e); to see the message and than call fail(some_message_here)! 
    109110  * Example for good test: 
    110111{{{