public Action(String content,int priority){
  this.content=content.trim();
  this.priority=priority;
}

public Action ( String content , int priority ) { this . content = content . trim ( ) ; this . priority = priority ; }
creates a new action object with specified content and line number .
