@NonNull private static List<RaveError> createNewList(@NonNull RaveError error){
  List<RaveError> errors=new LinkedList<>();
  errors.add(error);
  return errors;
}

@ NonNull private static List < RaveError > createNewList ( @ NonNull RaveError error ) { List < RaveError > errors = new LinkedList < > ( ) ; errors . add ( error ) ; return errors ; }
simple utility function to create a new list .
