A buyer under a contract for the sale of goods notified the seller two weeks before the delivery date that he would not accept the goods.What doctrine applies, and what may the seller do immediately?