Changes between Version 3 and Version 4 of BadCodeExamples


Ignore:
Timestamp:
06/05/09 11:10:57 (16 years ago)
Author:
meddle
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BadCodeExamples

    v3 v4  
    3939} 
    4040}}} 
     41 
     42 * Don't put your curly brackets wherever you want like this: 
     43{{{ 
     44        if(width < Page.MIN_PAGE_WIDTH || width > Page.MAX_PAGE_WIDTH) 
     45        { 
     46                SwingDialog.this.verificationLabel.setText("Not correct width!"); 
     47                return; 
     48        } 
     49}}}