public NoteComment(Note note,String text,String nickname,int uid,String action,Date timestamp){
  this.note=note;
  this.text=text.replaceAll("\\[","");
  this.nickname=nickname.replaceAll(",","");
  this.uid=uid;
  this.action=action;
  this.timestamp=timestamp;
}

public NoteComment ( Note note , String text , String nickname , int uid , String action , Date timestamp ) { this . note = note ; this . text = text . replaceAll ( "\\[" , "" ) ; this . nickname = nickname . replaceAll ( "," , "" ) ; this . uid = uid ; this . action = action ; this . timestamp = timestamp ; }
create a new comment based on the individual components .
