Source: American Red Cross Swimming Safety: redcross.org

Yes, they agree, swimming strenuously on a full stomach could conceivably lead to cramps, but for most recreational swimmers the chances are small. And how often do you have a five-course meal at the beach, anyway?