View Single Post
  #1   Spotlight this post!  
Unread 29-02-2012, 07:00
mwtidd's Avatar
mwtidd mwtidd is offline
Registered User
AKA: mike
FRC #0319 (Big Bad Bob)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 2003
Location: Boston, MA
Posts: 714
mwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond repute
What's wrong with this code? :)

Not really sure how I let this one sneak in.

Code:
public abstract class NeverEndingCommand extends Command{

    protected void interrupted() {
        //override for pids
    }
    
    protected boolean isFinished(){
        return true;
    }
    
    protected void end(){
        //never called
    }
}
Reply With Quote