1840 in United States case law