Code Question

The first floor water fountain disappeared, leaving a gaping hole in the wall, and revealing that the electrical outlet is directly below the water supply line which seems … odd?