@nocontexttrek
The coffee jokes were lifted directly from The Wackiest Ship in the Army (1960) starring Jack Lemmon and Ricky Nelson.

en.wikipedia.org/wiki/The_Wack