I am curious about ground connections used on a class 2 AC adaptor. The power supply has a three wire grounded cord end however the ground wire is simply cut off inside the enclosure of the power supply. I have attached an image of the power supply with the plastic enclosure removed. This power supply is UL listed. I am curious if this is acceptable and if it breaks any UL or other related codes.