Buggy code:
public class LEDPublisher { public static boolean broadcast ( LCM lcm , int id , int r , int g , int b ) { } private static double cap ( double v , double l , double u ) { } public static void main ( String [ ] args ) { GetOpt gopt = new GetOpt ( ) ; gopt . addBoolean ( 'h' , "help" , false , "Show<seq2seq4repair_space>this<seq2seq4repair_space>help" ) ; gopt . addString ( 'l' , "lcm" , "local" , "'local',<seq2seq4repair_space>'eth',<seq2seq4repair_space>of<seq2seq4repair_space>'wifi'" ) ; <START_BUG> gopt . addInt ( 'i' , "id" , 0 , "ID<seq2seq4repair_space>of<seq2seq4repair_space>block<seq2seq4repair_space>to<seq2seq4repair_space>publish<seq2seq4repair_space>to" ) ; <END_BUG> gopt . addInt ( 'r' , "red" , 0 , "Color<seq2seq4repair_space>of<seq2seq4repair_space>red<seq2seq4repair_space>led" ) ; gopt . addInt ( 'g' , "green" , 0 , "Color<seq2seq4repair_space>of<seq2seq4repair_space>green<seq2seq4repair_space>led" ) ; gopt . addInt ( 'b' , "blue" , 0 , "Color<seq2seq4repair_space>of<seq2seq4repair_space>blue<seq2seq4repair_space>led" ) ; gopt . addInt ( 'd' , "delay" , 5 , "Delay<seq2seq4repair_space>in<seq2seq4repair_space>ms" ) ; gopt . addBoolean ( 'f' , "fade" , false , "Run<seq2seq4repair_space>through<seq2seq4repair_space>fading<seq2seq4repair_space>of<seq2seq4repair_space>RGB" ) ; if ( ( ! ( gopt . parse ( args ) ) ) || ( gopt . getBoolean ( "help" ) ) ) { gopt . doHelp ( ) ; return ; } LCM lcm = LCMNet . createCmdFlag ( gopt . getString ( "lcm" ) ) ; int id = gopt . getInt ( "id" ) ; LEDPublisher . broadcast ( lcm , id , gopt . getInt ( "red" ) , gopt . getInt ( "green" ) , gopt . getInt ( "blue" ) ) ; int delay = gopt . getInt ( "delay" ) ; if ( gopt . getBoolean ( "fade" ) ) { while ( true ) { for ( int i = 0 ; i < 255 ; ++ i ) { LEDPublisher . broadcast ( lcm , id , i , 0 , 0 ) ; try { Thread . sleep ( delay ) ; } catch ( Exception e ) { } } for ( int i = 255 ; i >= 0 ; -- i ) { LEDPublisher . broadcast ( lcm , id , i , 0 , 0 ) ; try { Thread . sleep ( delay ) ; } catch ( Exception e ) { } } for ( int i = 0 ; i < 255 ; ++ i ) { LEDPublisher . broadcast ( lcm , id , 0 , i , 0 ) ; try { Thread . sleep ( delay ) ; } catch ( Exception e ) { } } for ( int i = 255 ; i >= 0 ; -- i ) { LEDPublisher . broadcast ( lcm , id , 0 , i , 0 ) ; try { Thread . sleep ( delay ) ; } catch ( Exception e ) { } } for ( int i = 0 ; i < 255 ; ++ i ) { LEDPublisher . broadcast ( lcm , id , 0 , 0 , i ) ; try { Thread . sleep ( delay ) ; } catch ( Exception e ) { } } for ( int i = 255 ; i >= 0 ; -- i ) { LEDPublisher . broadcast ( lcm , id , 0 , 0 , i ) ; try { Thread . sleep ( delay ) ; } catch ( Exception e ) { } } for ( int i = 0 ; i < 255 ; ++ i ) { LEDPublisher . broadcast ( lcm , id , i , i , 0 ) ; try { Thread . sleep ( delay ) ; } catch ( Exception e ) { } } for ( int i = 255 ; i >= 0 ; -- i ) { LEDPublisher . broadcast ( lcm , id , i , i , 0 ) ; try { Thread . sleep ( delay ) ; } catch ( Exception e ) { } } for ( int i = 0 ; i < 255 ; ++ i ) { LEDPublisher . broadcast ( lcm , id , 0 , i , i ) ; try { Thread . sleep ( delay ) ; } catch ( Exception e ) { } } for ( int i = 255 ; i >= 0 ; -- i ) { LEDPublisher . broadcast ( lcm , id , 0 , i , i ) ; try { Thread . sleep ( delay ) ; } catch ( Exception e ) { } } for ( int i = 0 ; i < 255 ; ++ i ) { LEDPublisher . broadcast ( lcm , id , i , 0 , i ) ; try { Thread . sleep ( delay ) ; } catch ( Exception e ) { } } for ( int i = 255 ; i >= 0 ; -- i ) { LEDPublisher . broadcast ( lcm , id , i , 0 , i ) ; try { Thread . sleep ( delay ) ; } catch ( Exception e ) { } } for ( int i = 0 ; i < 2000 ;

Fix:
gopt . addInt ( 'i' , "id" , 1 , "ID<seq2seq4repair_space>of<seq2seq4repair_space>block<seq2seq4repair_space>to<seq2seq4repair_space>publish<seq2seq4repair_space>to" ) ;